Support » Plugin: WP Google Maps » Problem with chinese translation

  • Resolved fabien79

    (@fabien79)


    I’ve got a website in english and i use WPML to translate it in few languages.
    We add few days ago the chinese language, but on our contact form, where we display the map, it’s not working.
    It looks that the plugin try to load map with the language code url.
    In english, it loads maps.google.com, but in chinese it loads maps.google.cn but this one does not exist.
    In china, it looks the google map url is maps.google.com.hk can you fix it please ?
    thanks in advance

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • perryrylance

    (@perryrylance)

    Hi @fabien79

    Thank you for getting in touch.

    You’re using the Chinese locale (zh_CN), if you switch to zh_HK then your site will not attempt to load the .cn files.

    If you need us to provide code to force that, we can do so.

    Does that help?

    Kind regards
    – Perry

    Thread Starter fabien79

    (@fabien79)

    Hi @perryrylance,
    thanks for your help.
    yes, if can give me the code to force that it would be perfect.
    Thanks a lot

    perryrylance

    (@perryrylance)

    Hi @fabien79

    Please see here. If you press “Code” then “Download ZIP” you can use this plugin to force WP Google Maps to load the API from the .com domain.

    Does that work for you?

    Kind regards
    – Perry

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with chinese translation’ is closed to new replies.