WordPress.org

Forums

Google Maps Widget
[resolved] Different language (8 posts)

  1. kryvulena
    Member
    Posted 6 months ago #

    Hello

    Is there a way to display maps in different language than English?

    http://wordpress.org/extend/plugins/google-maps-widget/

  2. WebFactory
    Member
    Plugin Author

    Posted 6 months ago #

    Hi, at the moment unfortunately no. But it's on our to-do list so you can expect it in one of the next releases.

  3. aundc
    Member
    Posted 4 months ago #

    one idea:

    but if i change only in the "plugins/google-maps-widget/google-maps-widget.php"
    on row 102 the map_url

    from
    $map_url = 'http://maps.google.com/maps?hl=en&...

    to
    $map_url = 'http://maps.google.de/maps?hl=de&...

    it will show me in result in the map-popup the map/-features in my preferred language (german) - pretty! ;-)

  4. WebFactory
    Member
    Plugin Author

    Posted 4 months ago #

    Yes, that's about the only change needed :) There's going to be a dropdown in the widget settings in the next release.

  5. aundc
    Member
    Posted 4 months ago #

    thats fine, i will love it :-)

  6. dutch_boontje
    Member
    Posted 6 days ago #

    just, another smoother methode: a kind of Auto detecting


    $map_url = 'http://maps.google.com/maps?hl=' . substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2) . '&ie=

    BTW: very nice plugin.

  7. generalsebert
    Member
    Posted 6 days ago #

    Hello dutch_boontje

    Where do you insert this bit of code?
    Thank you very much

  8. aundc
    Member
    Posted 6 days ago #

    @ dutch_boontje

    seems to be a pretty idea too! :-)
    (while not tested)

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.