Translating "Placemark List" button

  • frete
  • frete's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
4 years 1 month ago #4553 by frete
frete created the topic: Translating "Placemark List" button
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.

More
4 years 1 month ago #4560 by Dima
Dima replied the 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

Don't forget support my developments: post review in JED, donate ;)

Post your sites as examples into my directory
Google: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Yandex: forum.zhuk.cc/index.php/forum/ym-user-s-sites
Baidu: forum.zhuk.cc/index.php/forum/bdm-user-s-sites

Please Log in or Create an account to join the conversation.

  • frete
  • frete's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
4 years 1 month ago #4611 by frete
frete replied the 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.

More
4 years 1 month ago #4612 by Dima
Dima replied the 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

Don't forget support my developments: post review in JED, donate ;)

Post your sites as examples into my directory
Google: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Yandex: forum.zhuk.cc/index.php/forum/ym-user-s-sites
Baidu: forum.zhuk.cc/index.php/forum/bdm-user-s-sites
Attachments:

Please Log in or Create an account to join the conversation.

  • frete
  • frete's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
More
4 years 1 month ago #4615 by frete
frete replied the 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.

More
4 years 1 month ago #4617 by Dima
Dima replied the 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

Don't forget support my developments: post review in JED, donate ;)

Post your sites as examples into my directory
Google: forum.zhuk.cc/index.php/forum/gm-user-s-sites
Yandex: forum.zhuk.cc/index.php/forum/ym-user-s-sites
Baidu: forum.zhuk.cc/index.php/forum/bdm-user-s-sites

Please Log in or Create an account to join the conversation.

Time to create page: 0.104 seconds

Donate


Go to top