It is currently Fri Dec 15, 2017 12:44 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
PostPosted: Mon Jun 17, 2013 1:53 pm 
Offline
Maegashira
Maegashira

Joined: Mon Jun 17, 2013 1:51 pm
Posts: 12
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?


Top
 Profile  
 
 Post subject: beginer asking for help- translate PREV NEXT in albums
PostPosted: Mon Jun 17, 2013 1:53 pm 
Top  
PostPosted: Tue Jun 18, 2013 6:04 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
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


Top
 Profile  
 
PostPosted: Tue Jun 18, 2013 9:34 pm 
Offline
Maegashira
Maegashira

Joined: Mon Jun 17, 2013 1:51 pm
Posts: 12
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 ?


Top
 Profile  
 
PostPosted: Sat Jun 22, 2013 11:18 am 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
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


Top
 Profile  
 
PostPosted: Sun Jun 23, 2013 12:27 am 
Offline
Maegashira
Maegashira

Joined: Mon Jun 17, 2013 1:51 pm
Posts: 12
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 12674 times ]
next-prev.jpg
next-prev.jpg [ 10.43 KiB | Viewed 12674 times ]
Top
 Profile  
 
 Post subject: Re: beginer asking for help
PostPosted: Sun Jun 23, 2013 12:27 am 
Top  
PostPosted: Thu Jun 27, 2013 11:11 am 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
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


Top
 Profile  
 
PostPosted: Thu Jun 27, 2013 4:06 pm 
Offline
Maegashira
Maegashira

Joined: Mon Jun 17, 2013 1:51 pm
Posts: 12
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
Top
 Profile  
 
PostPosted: Fri Jun 28, 2013 4:02 pm 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
As you can see it is working OK :)

Attachment:
primer.jpg
primer.jpg [ 22.15 KiB | Viewed 12635 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


Top
 Profile  
 
PostPosted: Fri Jun 28, 2013 5:05 pm 
Offline
Maegashira
Maegashira

Joined: Mon Jun 17, 2013 1:51 pm
Posts: 12
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.


Top
 Profile  
 
 Post subject: Re: beginer asking for help
PostPosted: Fri Jun 28, 2013 5:05 pm 
Top  
PostPosted: Mon Jul 01, 2013 11:25 am 
Offline
Developer
Developer
User avatar

Joined: Sat Aug 14, 2010 9:31 pm
Posts: 1241
Location: Novi Sad, Serbia
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

 


All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron

This is the official Admiror Joomla! Community Forum. You are welcome to join the Admiror Joomla! Community. All Admiror Joomla! Extensions Users, Joomla! Developers, PHP or mySQL Developers are welcome to support & contribute to Admiror Joomla! Projects.

Joomla! is a free and open source content management system (CMS) for publishing content on the World Wide Web and intranets. With a vibrant volunteer community, user-friendly features and plenty of power, Joomla is perfect for your website!

Joomla! is written in PHP, uses object-oriented programming (OOP) techniques and software patterns, stores data in a MySQL database, and includes features such as page caching, RSS feeds, printable versions of pages, news flashes, blogs, polls, search, and support for language internationalization.

Joomla! is the property of Open Source Matters, Inc. All rights reserved. Read more about Joomla! at http://www.joomla.org/.


Protected by Anti-Spam ACP Powered by phpBB® Forum Software © phpBB Group