Google Map works in one language does not work in another
-
Hello i use your plugin with WPML plugin, is work default language that i set, but on secondary still show me the map on first language
The WPML suggest this when happen something like this in a google map plugin
The technical details of the issue :
The shortcode does not receive the parameter “region” that Google uses to identify the correct language it is supposed to use. Either the shortcode does not have that parameter in its code or it was not used in the example given. Either way since this shortcode is used on the content of a post/page the way to pass this to Google would be for the function that processes the shortcode to use our constant ICL_LANGUAGE_CODE to add the region parameter to the resulting map code. One thing that has to be taken into account is the timing of the processing of this shortcode since WPML must be loaded first to allow it to set this constant.
- The topic ‘Google Map works in one language does not work in another’ is closed to new replies.