- Posts: 40
- Thank you received: 0
Translating "Placemark List" button
- frete
- Topic Author
- Offline
- Senior Member
Less
More
10 years 8 months ago #4553
by frete
Translating "Placemark List" button was created by frete
I´m using the plugin (and the module in some pages) and I have a placemark list in the map. I want to translate the text for the button "Placemark List" to my own language and I´ve tried to change en-GB.plg_content_plg_zhgooglemap.ini, and also the ini-file for the component. But nothing changed. Is this text hard coded or in which ini-file should I look?
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
10 years 8 months ago #4560
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Translating "Placemark List" button
Hi.
Yes, translation for plugin is in this file
The key is: PLG_ZHGOOGLEMAP_MAP_PLACEMARKLIST
You can join to translation my project, and in next release the changes, which you did will be published.
As for translation. If you install my extension, and after that you install you new language - you should install extension over exists, because the language files doesn't installed automatically (because befor your new language there was no definite language folder).
In other words. From first time you have en-GB language. You install my ext, and after that you install, for example, el-GR language(Greek).
In this case translation for Greek lang doesn't copied while my ext installed. But if you install over again (do like upgrade) - you'll get translation
There is a link to transifex project, where my translation is
www.transifex.com/organization/dmitryzhu...shboard/zh-googlemap
Yes, translation for plugin is in this file
The key is: PLG_ZHGOOGLEMAP_MAP_PLACEMARKLIST
You can join to translation my project, and in next release the changes, which you did will be published.
As for translation. If you install my extension, and after that you install you new language - you should install extension over exists, because the language files doesn't installed automatically (because befor your new language there was no definite language folder).
In other words. From first time you have en-GB language. You install my ext, and after that you install, for example, el-GR language(Greek).
In this case translation for Greek lang doesn't copied while my ext installed. But if you install over again (do like upgrade) - you'll get translation
There is a link to transifex project, where my translation is
www.transifex.com/organization/dmitryzhu...shboard/zh-googlemap
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
- frete
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 40
- Thank you received: 0
10 years 8 months ago #4611
by frete
Replied by frete on topic Translating "Placemark List" button
It doesn´t change, no matter what I do. So it cannot be this ini-file.
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
10 years 8 months ago #4612
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Translating "Placemark List" button
It is in ini files.
If you change - be sure you change appropriate language file.
I mean, for english - you go to
/httpdocs/components/com_zhgooglemap/language
and change your file for your langualge
Ie if you set Russian language for site (frontend), you have to go to ru-Ru and change file ru-RU.com_zhgooglemap.ini
It is for component. The same for plugin, module
If you change - be sure you change appropriate language file.
I mean, for english - you go to
/httpdocs/components/com_zhgooglemap/language
and change your file for your langualge
Ie if you set Russian language for site (frontend), you have to go to ru-Ru and change file ru-RU.com_zhgooglemap.ini
It is for component. The same for plugin, module
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
- frete
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 40
- Thank you received: 0
10 years 8 months ago #4615
by frete
Replied by frete on topic Translating "Placemark List" button
It was a tricky one. I had to copy the English files to my own language folder (Swedish) and change the file names. Now it works!
Please Log in or Create an account to join the conversation.
- Dima
- Offline
- Platinum Member
10 years 8 months ago #4617
by Dima
Don't forget support my developments: post review in JED , donate , help with translation
Replied by Dima on topic Translating "Placemark List" button
Hi.
Yes, Swedish translation doesn't exists.
forum.zhuk.cc/index.php/forum/gm-transla...-list-of-translation
You can join transifex (it is free and flexible and useful) and help to translate to it.
Or you can post me your files, and I'll add to my extension
forum.zhuk.cc/index.php/forum/gm-transla...ate-frontend-backend
Yes, Swedish translation doesn't exists.
forum.zhuk.cc/index.php/forum/gm-transla...-list-of-translation
You can join transifex (it is free and flexible and useful) and help to translate to it.
Or you can post me your files, and I'll add to my extension
forum.zhuk.cc/index.php/forum/gm-transla...ate-frontend-backend
Don't forget support my developments: post review in JED , donate , help with translation
Please Log in or Create an account to join the conversation.
Time to create page: 0.179 seconds