1. mikhaelm
  2. Features Request
  3. Monday, June 01 2015, 06:24 AM
Hi,
added multilang in google map:
https://maps.googleapis.com/maps/api/js?sensor=false&;language={2-code lang}

Code:
$LangTag = JFactory::getLanguage()->getTag();
$LangTag =substr($LangTag, 0,2);

$doc->addScript('https://maps.googleapis.com/maps/api/js?sensor=false&;libraries=places&language='.$LangTag);

Regards...
References
  1. http://joomscripts.net
admin Accepted Answer
Admin
Hi,
this is not necessary, Google Maps automatically locates with browser language or language set in the profile of Google +
  1. more than a month ago
  2. Features Request
  3. # 1
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.