Page 1 of 2

Set language of map in settings

Posted: 26 Feb 2019, 17:19
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

Re: Set language of map in settings

Posted: 28 Feb 2019, 14:03
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

Re: Set language of map in settings

Posted: 04 Mar 2019, 10:28
by xillibit
Hello,

I'am using google maps, i have just tried by setting en and de and it still display in french

Re: Set language of map in settings

Posted: 04 Mar 2019, 17:11
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

Re: Set language of map in settings

Posted: 05 Mar 2019, 11:23
by xillibit
Hello,

Setting the map in ru, still display in french :

Image

But the map is displaying in french :

Image

Re: Set language of map in settings

Posted: 05 Mar 2019, 16:49
by Jan
Hmmm, do you run the latest version, did you test it in another browser?

Jan

Re: Set language of map in settings

Posted: 05 Mar 2019, 17:28
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

Re: Set language of map in settings

Posted: 06 Mar 2019, 18:08
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

Re: Set language of map in settings

Posted: 22 Jun 2020, 12:36
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

Re: Set language of map in settings

Posted: 23 Jun 2020, 23:12
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