Print Route Language

Phoca Maps - displaying maps in Joomla! CMS
jvista
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 18 Apr 2011, 07:46

Print Route Language

Post by jvista »

Rather than displaying "Print Route" my install is displaying "COM_PHOCAMAPS_PRINT_ROUTE".

I have checked my language file and have COM_PHOCAMAPS_PRINT_ROUTE="Print Route"

Using Joomla 1.6 with PhocaMaps component 2.00 plugin 2.02

Any ideas?

Thanks in advance for your help
nml
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 28 Jun 2011, 22:47

Re: Print Route Language

Post by nml »

same problem
any help would be great
Raymond
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 25 Jul 2011, 18:50

Re: Print Route Language

Post by Raymond »

I had the same problem and fixed it by doing the following (also fixed the language problem):

- Edit the "en-GB.plg_content_phocamaps.ini" file in the folder "/administrator/language/en-GB/"
- Add a line like this anywhere in the file: COM_PHOCAMAPS_PRINT_ROUTE="Print route"
- Save the file again and the problem is solved.

For people with the problem that they changed the language and still getting the same English "From Address" and "Calculate Route", change the lines "PLG_PHOCAMAPS_FROM_ADDRESS=" and "PLG_PHOCAMAPS_GET_ROUTE=" to your own language.

Also don't forget to add the line "COM_PHOCAMAPS_ZERO_RESULTS="Address not found", otherwise you won't get a good response if you fill in a non existing address (check it).

Good luck!

Note: If you do not have the "en-GB.plg_content_phocamaps.ini" file, then mayby you forgot to install the Phoca Map Plugin, latest version at the moment of this writing: "plg_phocamaps_v2.0.2".
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Print Route Language

Post by Jan »

Hi,

this:
COM_PHOCAMAPS_PRINT_ROUTE="Print route" is included in the 2.0.0

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