Map language

Phoca Maps - displaying maps in Joomla! CMS
oogits
Phoca Member
Phoca Member
Posts: 20
Joined: 24 Dec 2011, 08:51

Map language

Post by oogits »

Hi.

I have the Phoca Maps installed and it works great!

I noticed something when I looked on my website using Explorer.
When I use Chrome (and I always use it) I see the map on the website with English labels (the one from Google).
When I opened the website using Explorer I saw the labels in Hebrew.
Why did the Explorer chose Hebrew and the Chrome did not?

I have the site in Hebrew as well as in English.
Is it possible to set the language of the map?
Is it possible to set a different map language for each language of the website?
If yes, how do I do that?

Thank you very much,
Nice weekend to all and,
A happy new year!

Uri.
oogits
Phoca Member
Phoca Member
Posts: 20
Joined: 24 Dec 2011, 08:51

Re: Map language

Post by oogits »

I found this:
http://code.google.com/apis/maps/docume ... calization

But I do not know where should I add this line:
<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js? ... anguage=ja">
I know that the "ja" is for Japanese and I should change it to "iw" for hebrew.
It says also "adding dir='rtl' to the page's <html> element".

Can anyone tell me what file do I need to edit, and could it be dependent on the website language (for example a condition that says: If website language is he then "iw" otherwise "en")?

Again,
Thank you and a happy new year.

Uri.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48402
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Map language

Post by Jan »

Hi, you can set langauge in Maps editing - in backend while editing category - there is parameter for setting the language.

Jan
If you find Phoca extensions useful, please support the project
oogits
Phoca Member
Phoca Member
Posts: 20
Joined: 24 Dec 2011, 08:51

Re: Map language

Post by oogits »

WOW! So blind! Was it there before?

Thanks!

Is there a way to set 'No labels'?

Thanks!
oogits
Phoca Member
Phoca Member
Posts: 20
Joined: 24 Dec 2011, 08:51

Re: Map language

Post by oogits »

And,

is it possible to set only part of labels?
I want to show the map without businesses. Only cities, villages etc.


Thanks again,

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

Re: Map language

Post by Jan »

Hi, what you mean with part of label?
If you find Phoca extensions useful, please support the project
Post Reply