• Resolved Be Dark

    (@b_dark)


    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.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hello @b_dark ,

    I’d like to let you know, the Google Map block allows displaying a Google Map anywhere on the page directly from the API.

    And all the field comes from the API calls due to which there is no field that is translatable using WPML.

    But we will check if there is any filter we pass to display a map in other languages.

    Thanks for your patience and co-operation.

    Regards,
    Sweta

    Thread Starter Be Dark

    (@b_dark)

    Hello Sweta/@brainstormteam,
    Yes, is if we have some filters to change the language of map or change automatic when we use wpml in a site

    Plugin Support Team Brainstorm Force

    (@brainstormteam)

    Hello @b_dark ,

    We’re sorry for the inconvenience caused to you.
    ?
    Also, ?we are thankful for your patience and readiness to help us fix things that we come across.

    ?I’d like to let you know, we have already added a task for it and our concerned developers have started working on it. Please lend us some time.

    Your patience and co-operation are highly appreciated.

    Regards,
    Sweta

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Google Map works in one language does not work in another’ is closed to new replies.