beginer asking for help- translate PREV NEXT in albums

Admiror Gallery is free extension for Joomla! based websites. Admiror Gallery is all in one, a simple and instant solution for rendering image gallery from folder with images, but very flexible and adaptable.
Post Reply
Message
Author
BUCHEVSKI
Maegashira
Maegashira
Posts: 12
Joined: Mon Jun 17, 2013 1:51 pm

beginer asking for help- translate PREV NEXT in albums

#1 Post 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?

Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: beginer asking for help

#2 Post 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 :)
Help Admiror Gallery become even better,
give us a review on JED

BUCHEVSKI
Maegashira
Maegashira
Posts: 12
Joined: Mon Jun 17, 2013 1:51 pm

Re: beginer asking for help

#3 Post 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 ?

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: beginer asking for help

#4 Post 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 :)
Help Admiror Gallery become even better,
give us a review on JED

BUCHEVSKI
Maegashira
Maegashira
Posts: 12
Joined: Mon Jun 17, 2013 1:51 pm

Re: beginer asking for help

#5 Post 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.
Attachments
next-prev1.jpg
next-prev1.jpg (52.33 KiB) Viewed 49145 times
next-prev.jpg
next-prev.jpg (10.43 KiB) Viewed 49145 times

Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: beginer asking for help

#6 Post 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?
Help Admiror Gallery become even better,
give us a review on JED

BUCHEVSKI
Maegashira
Maegashira
Posts: 12
Joined: Mon Jun 17, 2013 1:51 pm

Re: beginer asking for help

#7 Post 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!
Attachments
en-GB.plg_content_admirorgallery.txt.zip
(3.06 KiB) Downloaded 2694 times

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: beginer asking for help

#8 Post by Vasiljevski »

As you can see it is working OK :)
primer.jpg
primer.jpg (22.15 KiB) Viewed 49106 times
I used your file an it worked. Is it maybe that you have caching enabled or something?
Help Admiror Gallery become even better,
give us a review on JED

BUCHEVSKI
Maegashira
Maegashira
Posts: 12
Joined: Mon Jun 17, 2013 1:51 pm

Re: beginer asking for help

#9 Post 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.

Admiror Gallery 5 - Fundraising Campaign

User avatar
Vasiljevski
Developer
Developer
Posts: 1258
Joined: Sat Aug 14, 2010 9:31 pm
Location: Novi Sad, Serbia
Contact:

Re: beginer asking for help

#10 Post 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}"
Help Admiror Gallery become even better,
give us a review on JED

Post Reply