I have translated:
en-GB.com_phocamaps.sys.ini and en-GB.com_phocamaps.ini to danish.
Sins I can't att the files to this msg, I've thrown them on a mega drive.
Cheers
/Rex
Translated Phoca Maps to danish
-
- Phoca Newbie
- Posts: 7
- Joined: 11 Jul 2009, 17:08
- Jan
- Phoca Hero
- Posts: 48648
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Translated Phoca Maps to danish
Hi, thank you very much for your translation.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Newbie
- Posts: 7
- Joined: 11 Jul 2009, 17:08
Re: Translated Phoca Maps to danish
NP, though it seems that even though I have the site set to danish, maps still uses english?
Is there somewhere I need to apply the danish language to maps?
Cheers
/Rex
Is there somewhere I need to apply the danish language to maps?
Cheers
/Rex
- Benno
- Phoca Hero
- Posts: 9673
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Translated Phoca Maps to danish
Hi,
What exactly is not being translated?
You can also set the language directly in the backend in the map options. However, this has no effect on my test sites, as everything is already displayed in German, if the frontend is set to german, OpenStreetMap Type (Germany) is set, and my german language pack ist installed. Oh yes, and I only use OpenStreetMap maps, so I can't say anything about Google maps:


Kind regards,
benno
What exactly is not being translated?
You can also set the language directly in the backend in the map options. However, this has no effect on my test sites, as everything is already displayed in German, if the frontend is set to german, OpenStreetMap Type (Germany) is set, and my german language pack ist installed. Oh yes, and I only use OpenStreetMap maps, so I can't say anything about Google maps:


Kind regards,
benno
-
- Phoca Newbie
- Posts: 7
- Joined: 11 Jul 2009, 17:08
Re: Translated Phoca Maps to danish
I already set the backend to da, for danish. But when using the get route, in g-maps the from and get route isn't translated


Cheers
/Rex


Cheers
/Rex
- Benno
- Phoca Hero
- Posts: 9673
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Translated Phoca Maps to danish
Hi,
These are the strings:
en-GB.com_phocamaps.ini
Line 351 and 352

Did you translate these two lines?
If yes, this is overwritten somewhere. E.g. by your browser language?
But again, I can't say anything about Google Maps because I don't use it.
Kind regards,
Benno
These are the strings:
en-GB.com_phocamaps.ini
Line 351 and 352

Did you translate these two lines?
If yes, this is overwritten somewhere. E.g. by your browser language?
But again, I can't say anything about Google Maps because I don't use it.

Kind regards,
Benno
- sulpher
- Phoca Professional
- Posts: 123
- Joined: 28 Feb 2017, 09:45
-
- Phoca Newbie
- Posts: 7
- Joined: 11 Jul 2009, 17:08
Re: Translated Phoca Maps to danish
@Benno
Darn, I lost 40+ lines in my translation, and among them, those
(Att: here is updated Danish translation, sins I can't update my first post: https://mega.nz/file/i1okmJCB#wANPmn3jt ... ZEoHzXqD0k
How ever even after I translated them, the lang is still english.
But it's a minor deal, and I can fix it by translating directly in en-GB.
@sulpher
Didn't change the outcome.
Darn, I lost 40+ lines in my translation, and among them, those

(Att: here is updated Danish translation, sins I can't update my first post: https://mega.nz/file/i1okmJCB#wANPmn3jt ... ZEoHzXqD0k
How ever even after I translated them, the lang is still english.
But it's a minor deal, and I can fix it by translating directly in en-GB.
@sulpher
Didn't change the outcome.
- Benno
- Phoca Hero
- Posts: 9673
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: Translated Phoca Maps to danish
Ok.
Kind regards,
Benno
Kind regards,
Benno
- sulpher
- Phoca Professional
- Posts: 123
- Joined: 28 Feb 2017, 09:45
Re: Translated Phoca Maps to danish
https://simplelocalize.io/data/locale-code/da-DK/
Country Code (ISO 3166-1): dk
Language Code (ISO 639-1): da
I do not know the required format that should be used in this field for Google Maps. Maybe component's documentation will help.
Maybe it should be something like en-GB. In your case it could be da-DK.
https://localizely.com/locale-code/da-DK/
Also, maybe Google maps counts your browser language (it is an assumption).