Strange labels

Phoca Maps - displaying maps in Joomla! CMS
matatools
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 15 Jan 2012, 21:43

Strange labels

Post by matatools »

Hi, suddenly my website doesn't show the translation for the labels.

For example it shows "PLG_CONTENT_PHOCAMAPS_FROM_ADDRESS:" instead of "From Address"

What could be happened?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Strange labels

Post by Jan »

Hi, search this forum for similar posts, it was many times explained, where can be the problem (not updated translation, e.g.)

Jan
If you find Phoca extensions useful, please support the project
jooming
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Jan 2012, 17:42

Re: Strange labels

Post by jooming »

Hi, can you explain what is going on though - how can we update the language files?

In the previous version the plugin didn't automatically tranlate "Get Route" and "From" and now it leaves - PLG_CONTENT_PHOCAMAPS_FROM_ADDRESS ??

Thank you.
jooming
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 16 Jan 2012, 17:42

Re: Strange labels

Post by jooming »

OK, so I found the solution.
Instead of downloading the language files from this website, you should copy the file en-GB.plg_content_phocamaps.ini, change its name to fit your language, paste it into /administrator/language and /language and translate the phrase.

For example, for Spanish:
I downloaded the file en-GB.plg_content_phocamaps.ini, opened it in notepad, changed the word "From Address" to "Desde" and saved the file as es-ES.plg_content_phocamaps.ini. Then I uploaded the file to /administrator/language/es-ES folder.

Hope this helps someone...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Strange labels

Post by Jan »

Ok, thank you for this info.

Jan
If you find Phoca extensions useful, please support the project
Post Reply