Thursday, May 2, 2013

Remove JPAGE_CURRENT_OF_TOTAL


If after upgrading to the latest version of Joomla 1.5.15 you started to get JPAGE_CURRENT_OF_TOTAL displayed at the bottom of the page just below the page navigation, this means that you're using localized version of the Frontend and that if you want to get rid of this mess you should keep reading.

This is how typically it would look like:

«Inicio Prev 1 2 3 4 5 6  7 8 9 10 Próximo Fin»

JPAGE_CURRENT_OF_TOTAL

The problem is the lack of appropriate language pack for the installed version of Joomla. JPAGE_CURRENT_OF_TOTAL is in fact a "code representation" of the sentense "Page x of z." and the reason you seeing it this ways is because your current language pack doesn't have this sentence in it. This string actualy belong to the Joomla pagination plugin.

Solve it in 2 ways:
  1. Download a matching language pack for the version of Joomla you're working with.
  2. If the language pack is just not available yet, fix it manually:
  • Locate the main localization file - so if you have Finish installation it would be : <Joomla folder>\language\yourlanguage\yourlanguage.ini
  • Manually add the following line in to it: JPAGE_CURRENT_OF_TOTAL=Page %s of %s
That's it! Hope this tip was helpfull.

2 comments: