Page 1 of 1

beginer asking for help- translate PREV NEXT in albums

Posted: Mon Jun 17, 2013 1:53 pm
by BUCHEVSKI
hello i use

Component Version: 4.5.0
Plugin Version: 4.5.0
Button Version: 4.5.0

Joomla! 2.5.11


can u please tell me where i can translate the pagination : "next" and "prev" into my native language?

Re: beginer asking for help

Posted: Tue Jun 18, 2013 6:04 pm
by Vasiljevski
You need to add :
AG_NEXT="{translation}"
AG_PREV="{translation}"

to language\en-GB\en-GB.com_admirorgallery.ini and administrator\language\en-GB\en-GB.plg_content_admirorgallery.ini

Depending on your native language, folder location can change, en-GB is for English. So just open the same files located in directory that holds your language translations :)

Re: beginer asking for help

Posted: Tue Jun 18, 2013 9:34 pm
by BUCHEVSKI
thanks Nikola for the replly:)

i cant make it work, i have found both files edited but gallery still show next and prev

my native language is macedonian, but files are located in en-gb folders as u mentioned.


do i need to put

AG_NEXT="{Напред}"
AG_PREV="{Назад}"

in some particular place in ini files ?

Re: beginer asking for help

Posted: Sat Jun 22, 2013 11:18 am
by Vasiljevski
It might be that I didn't understand you correctly.
You want to change "Prev" "Next" from slimbox?

Open : plugins\content\admirorgallery\admirorgallery\popups\slimbox\css\
there you will find prevlabel.gif nextlabel.gif. Create files for Macedonian and replace these to.

The instructions I posted before are used for pagination in Admiror Gallery :)

Re: beginer asking for help

Posted: Sun Jun 23, 2013 12:27 am
by BUCHEVSKI
Hello im using pirobox

as attachment i will show u what i want to change.

im asking how to change pagination of album next and prev to my language.

Re: beginer asking for help

Posted: Thu Jun 27, 2013 11:11 am
by Vasiljevski
Hmm in that case, it is strange, adding :
AG_NEXT="{translation}"
AG_PREV="{translation}"

to administrator\language\en-GB\en-GB.plg_content_admirorgallery.ini should do the job.

Can you send me your language files or post it here to check?

So you just took en-GB.plg_content_admirorgallery.ini and changed strings to Macedonian?

Re: beginer asking for help

Posted: Thu Jun 27, 2013 4:06 pm
by BUCHEVSKI
Hello i just add that 2 lines in

/administrator/language/en-GB/en-GB.plg_content_admirorgallery.ini


last 2 line in this part : ; Plugin XML Params

as attachment im sending ini file saved as txt, because i was unable to upload ini file.

Regards
Dejan!

Re: beginer asking for help

Posted: Fri Jun 28, 2013 4:02 pm
by Vasiljevski
As you can see it is working OK :)
primer.jpg
primer.jpg (22.15 KiB) Viewed 49121 times
I used your file an it worked. Is it maybe that you have caching enabled or something?

Re: beginer asking for help

Posted: Fri Jun 28, 2013 5:05 pm
by BUCHEVSKI
Well it doesn't work for me.. i don't now why ....

Template is made with Artisteer, Joomla 2.5 ( english ) is installed via Cpanel, next what i have done is installing template and adding Macedonian language pack.

So what i have done, was: downloading zip file of Admiror gallery and opening every single file with text editor.

I finally solved my question editing agGallery.php changing JText::_("PREV") and JText::_("NEXT") , with macedonian letters.

Re: beginer asking for help

Posted: Mon Jul 01, 2013 11:25 am
by Vasiljevski
Hmm that is the problem :)

I have AG_PREV in my code, and you had just PREV. I changed that in my working copy, and I totally forgot that in the official release it was still NEXT PREV :(

Sorry for wrong instructions.

For what is worth, in official AdmirorGallery release you should add:
NEXT="{translation}"
PREV="{translation}"