simply translate

Phoca Maps - displaying maps in Joomla! CMS
salvo72
Phoca Member
Phoca Member
Posts: 23
Joined: 29 Dec 2014, 12:22

simply translate

Post by salvo72 »

hi

i do not installed phoca maps for first, and at any work i traslate on italian the text

"From Address" and " Get Route" to rename the data on file

/httpdocs/blog/language/en-GB/en-GB.com_phoamaps.ini

but at this case (joomla 3.3.6) the text do not change

thanks
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9452
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: simply translate

Post by Benno »

Hi,
joomla 3.3.6
First of all, update your Joomla. Current version is 3.5 You missed a lot of securite fixes...
Do you display the map inside an article with the Phoca Maps Plugin? Then you should change this in the plugin language file, or better make a language override.

Kind regards,
Benno
salvo72
Phoca Member
Phoca Member
Posts: 23
Joined: 29 Dec 2014, 12:22

Re: simply translate

Post by salvo72 »

ok

i update joomla version


and recheck the file , in the effect, the plugin language file it's no found in the server!
i upload this file e apply modified on EN folder and IT folder
but the text do not replace in any case!!!!

i do not understand , very strange
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9452
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: simply translate

Post by Benno »

Hi,
you didn't answer my question. Do you display a Map with Phoca Maps Component (with Menu Item), or with Phoca Maps Plugin inside an article?
Because the Component and the Plugin have different language files.
And if you use the Plugin, you also need to translate en-GB.plg_content_phocamaps.ini
Phoca Maps Component language files:
  • en-GB.com_phocamaps.ini
    en-GB.com_phocamaps.sys.ini
Phoca Maps Content Plugin language files:
  • en-GB.plg_content_phocamaps.ini
    en-GB.plg_content_phocamaps.sys.ini
Kind regards,
Benno
salvo72
Phoca Member
Phoca Member
Posts: 23
Joined: 29 Dec 2014, 12:22

Re: simply translate

Post by salvo72 »

ok

i.m sorry

yes. i see the maps in content whit plugin mode

i modified avery file on list... but the text do not replace in any case!!!!
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9452
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: simply translate

Post by Benno »

Hi,
i modified avery file on list... but the text do not replace in any case!!!!
First possible way
Rename this file:
  • en-GB.plg_content_phocamaps.ini
with your done modifications to:
  • it-IT.plg_content_phocamaps.ini
and copy & paste it to your
/language/it-IT/
folder. Clear all caches.

Second possible way
Download the existing Italian language package from here:
https://github.com/PhocaCz/PhocaMapsPlu ... ps.j17.zip
Unzip it on your pc and open the includet file with help of an editor like Notepad++ :
  • it-IT.plg_content_phocamaps.ini
Modify this string from:
COM_PHOCAMAPS_PRINT_ROUTE="Stampa itinerario"
To:
COM_CONTENT_PHOCAMAPS_PRINT_ROUTE="Stampa itinerario"
Save the file UTF-8 without Bom encodet
and copy & paste it to your
/language/it-IT/
folder. Clear all caches.

Both ways should work, if you have set Italian as default frontend language.

Kind regards,
Benno
salvo72
Phoca Member
Phoca Member
Posts: 23
Joined: 29 Dec 2014, 12:22

Re: simply translate

Post by salvo72 »

i do not resolved !!!!

if i rename a language file.... any change appened to website!!!!!!!!!!!!!
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 9452
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: simply translate

Post by Benno »

Hi,
Sorry, my mistake. Because it is a plugin language file, it must be copied to this folder:
/administrator/language/it-IT/
Also see: viewtopic.php?f=38&t=39431

Kind regards,
Benno
Post Reply