Set language of map in settings

Phoca Maps - displaying maps in Joomla! CMS
xillibit
Phoca Member
Phoca Member
Posts: 26
Joined: 26 Jun 2017, 16:25

Set language of map in settings

Post by xillibit »

Hello,

On a website in mulilanguage (french and english),under phoca maps 3.0.5, in a map setting i wanted to diplay the map in english, so i set in the language field : en-GB but it does nothing.

Do-i right set en-GB in the language field ? If not, what i need to set in this field ?

Thanks by advance

Tags:
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Set language of map in settings

Post by Jan »

Hi, which map do you use? Google Maps, OSM?

Did you try to test only "en" value (or to test e.g. "de", etc.)?

Jan
If you find Phoca extensions useful, please support the project
xillibit
Phoca Member
Phoca Member
Posts: 26
Joined: 26 Jun 2017, 16:25

Re: Set language of map in settings

Post by xillibit »

Hello,

I'am using google maps, i have just tried by setting en and de and it still display in french
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Set language of map in settings

Post by Jan »

Hi, testing now with Google Maps:

when setting e.g. french language
Image

I get the strings in map in french language:
Image

Image

:idea:

Changing to "ru" language:

Image

Jan
If you find Phoca extensions useful, please support the project
xillibit
Phoca Member
Phoca Member
Posts: 26
Joined: 26 Jun 2017, 16:25

Re: Set language of map in settings

Post by xillibit »

Hello,

Setting the map in ru, still display in french :

Image

But the map is displaying in french :

Image
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Set language of map in settings

Post by Jan »

Hmmm, do you run the latest version, did you test it in another browser?

Jan
If you find Phoca extensions useful, please support the project
xillibit
Phoca Member
Phoca Member
Posts: 26
Joined: 26 Jun 2017, 16:25

Re: Set language of map in settings

Post by xillibit »

Yes, i'am using the 3.0.6 version.

I have just tried under chrome instead of firefox, it still load the map in french and not in the language set, when i look in the source code of the page it doesn't pass the language setting :

Image
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Set language of map in settings

Post by Jan »

Hmmm, really no idea what can be wrong, maybe some cache issue :idea:

Testing on another server, without any problem:

Image

Everything OK in the code:
Image

Jan
If you find Phoca extensions useful, please support the project
Mochuleo
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 22 Jun 2020, 12:26

Re: Set language of map in settings

Post by Mochuleo »

Hi, I would like reopen this post. I have a similar issue with language translations. The language of the map is correct, but the language of the route input field label "From Address: " and submit button "Get Route" remains in english, no matter what language I enter in the settings. I have installed german language pack.

Version used is 3.0.8

Is there something I have missed? Can anybody give advice?
Thanks a lot
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Set language of map in settings

Post by Jan »

Hi, from address and get route are component system language strings, so they are translated by the language which is active in Joomla!.

Do you use component or plugin? Is your language file for the component or plugin up-to-date?

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