In the sort_head() block you're wrapping the variable containing the translatable string in l(). I believe this causes problems for i18n.
So, instead of :
sort_head("sort_title", "Title")
You should wrap translatable strings directly in the l() macro:
sort_head("sort_title", l("Title"))
In the sort_head() block you're wrapping the variable containing the translatable string in l(). I believe this causes problems for i18n.
So, instead of :
sort_head( "sort_title" , "Title")
You should wrap translatable strings directly in the l() macro:
sort_head( "sort_title" , l("Title"))