google maps language localization

More
2 years 6 months ago - 2 years 6 months ago #82127 by Nora ali
hi ,
i use fleixontent for my website and it contain maps
I use the google map field [addressint ]

i want to use another language for the google maps to be displayed

i searched google and the solution in this page 
developers.google.com/maps/documentation...ascript/localization
is to modify the API like this
Code:
<script async     src="https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY[b]&region=EG[/b][b]&language=ar[/b]&callback=initMap"> </script>
how to do it in my flexicontent please ?
thanks
Last edit: 2 years 6 months ago by Nora ali.

Please Log in or Create an account to join the conversation.

More
2 years 6 months ago #82129 by micker
hello
"By default, the Maps JavaScript API uses the user's preferred language setting as specified in the browser" why do you need to override it ?
for now its not possible but it can be be interesting feature

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

More
2 years 6 months ago #82131 by Nora ali
thank you for your reply
i think if you can tell me where is the code that use the api i provided in the maps field
i can modify it to add the " &region=EG&language=ar" is that possible ?
i tried to find it in the source code of flexicontent but i failed

Please Log in or Create an account to join the conversation.

More
2 years 6 months ago #82132 by micker
Dont do this you will break update ability

FLEXIcontent is Free but involves a very big effort on our part.
Like the our support? (for a bug-free FC, despite being huge extension) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing reviews. Thanks![/size]

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.326 seconds
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline