Admiror Joomla! Community
http://www.vasiljevski.com/forum/

beginer asking for help- translate PREV NEXT in albums
http://www.vasiljevski.com/forum/viewtopic.php?f=30&t=942
Page 1 of 1

Author:  BUCHEVSKI [ Mon Jun 17, 2013 1:53 pm ]
Post subject:  beginer asking for help- translate PREV NEXT in albums

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?

Author:  Vasiljevski [ Tue Jun 18, 2013 6:04 pm ]
Post subject:  Re: beginer asking for help

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 :)

Author:  BUCHEVSKI [ Tue Jun 18, 2013 9:34 pm ]
Post subject:  Re: beginer asking for help

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 ?

Author:  Vasiljevski [ Sat Jun 22, 2013 11:18 am ]
Post subject:  Re: beginer asking for help

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 :)

Author:  BUCHEVSKI [ Sun Jun 23, 2013 12:27 am ]
Post subject:  Re: beginer asking for help

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.

Attachments:
next-prev1.jpg
next-prev1.jpg [ 52.33 KiB | Viewed 12686 times ]
next-prev.jpg
next-prev.jpg [ 10.43 KiB | Viewed 12686 times ]

Author:  Vasiljevski [ Thu Jun 27, 2013 11:11 am ]
Post subject:  Re: beginer asking for help

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?

Author:  BUCHEVSKI [ Thu Jun 27, 2013 4:06 pm ]
Post subject:  Re: beginer asking for help

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!

Attachments:
en-GB.plg_content_admirorgallery.txt.zip [3.06 KiB]
Downloaded 490 times

Author:  Vasiljevski [ Fri Jun 28, 2013 4:02 pm ]
Post subject:  Re: beginer asking for help

As you can see it is working OK :)

Attachment:
primer.jpg
primer.jpg [ 22.15 KiB | Viewed 12647 times ]


I used your file an it worked. Is it maybe that you have caching enabled or something?

Author:  BUCHEVSKI [ Fri Jun 28, 2013 5:05 pm ]
Post subject:  Re: beginer asking for help

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.

Author:  Vasiljevski [ Mon Jul 01, 2013 11:25 am ]
Post subject:  Re: beginer asking for help

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}"

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/