×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Problem with translation in pagination

Problem with translation in pagination 14 years 10 months ago #4877

  • Lucas Degiovani
  • Lucas Degiovani's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Hi there...

Using 4.0 beta1...

And can´t find where I must translate the "begin" link in the pagination of my comments... Im using portuguese-BR... All others nav links are translated, only begin is not...

Here´s a link of the live site... (its a test site)

templates.mixsites.com/index.php?option=...adora-sharp&Itemid=1

And the image:




Can anyone help me?? What file do I have to translate?? I´ve searched hole joomla and havent found..!!

Thanks..
Lucas

Problem with translation in pagination 14 years 10 months ago #4878

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey Lucas, We use the standard joomla strings and that is why you are not finding them in our language file. If your joomla is in portuguese-BR, then it should automatically translate these strings.

look at utils.php
		$_PN_LT 		=  JText::_('&lt');
		$_PN_RT 		= JText::_('>');
		$_PN_START 		= JText::_( 'Begin' );
		$_PN_PREVIOUS 	= JText::_( 'Prev' );
		$_PN_NEXT		= JText::_( 'Next' );
		$_PN_END		= JText::_( 'End' );
 

Open your joomla translation and find 'prev' next and so on. If those strings are not existing, then add them to the file and then it should work.

Problem with translation in pagination 14 years 10 months ago #4884

  • Lucas Degiovani
  • Lucas Degiovani's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 13
  • Thank you received: 0
Hi Daniel...

Thanks for the answer.... It really solved my problem...

I just had to add to the pt-BR.ini: "BEGIN=Início"..

But if I were you, I would consider change utils.php to use "START" instead of "BEGIN".

Even in the english file (en-GB.ini) there is no "BEGIN", but there is a "START"...

in my translation, also there is a "START" translated correctly to "início" (in portuguese)...

So, more people with diferent languages would have the same problem I had...

In order to prevent that, since all translations should have the START instead of BEGIN, I think you should use it...

Thanks again for the help....

Problem with translation in pagination 14 years 10 months ago #4890

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
Lucas Degiovani wrote:

In order to prevent that, since all translations should have the START instead of BEGIN, I think you should use it...


Good idea. That's really strange, usually the two terms are Begin & End I thought (in programming at least anyway) - I wonder why Joomla used 'Start' instead.

Problem with translation in pagination 14 years 10 months ago #4894

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Hey guys! Since I'm not natively speaking english what is the right word to use now? Begin or Start?

Problem with translation in pagination 14 years 10 months ago #4903

  • JonusC
  • JonusC's Avatar
  • Offline
  • Platinum Boarder
  • Platinum Boarder
  • Posts: 785
  • Thank you received: 48
Haha... I personally think you were right with "Begin".

But Joomla appears to use "Start" in it's Pagination language files. So change it to that for next release :)

Problem with translation in pagination 14 years 10 months ago #4905

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Well, the navigation in the forum also uses Start and not begin, I will change it to "start" for beta2.
  • Page:
  • 1
Time to create page: 0.129 seconds