Extension:Google Maps/Languages

From MediaWiki.org

Jump to: navigation, search

Introduction - Installation - Editor's Map - Syntax - Compatibility - Languages - Developers - Talk

         

Manual on MediaWiki Extensions
List of MediaWiki Extensions
Crystal Clear action run.png
Google Maps Extension

Release status: beta

Google Maps Extension Type Selector.jpg
Implementation  Tag
Description Easily create maps populated with wiki-fied place markers.
Author(s)  Evan Miller
Last Version  0.9.4 (2009-01-27)
MediaWiki  1.5 and up
License GPL
Download Download snapshot

Subversion [Help]
Browse source code
zip file tar ball (instructions)


Version 0.7 supports messages in multiple languages. If there's support for your language, the extension will pick it up automatically by using the same language that your MediaWiki is configured for. This support is on two levels: first, there are the messages embedded in the maps themselves (such as "Map", "Satellite", and "Terrain"). This comes from Google, which supports English (en), Japanese (ja), French (fr), German (de), Italian (it), Spanish (es), Catalan (ca), Basque (eu), Dutch (nl), and Galician (gl).

The second level is the set of messages in the editor's map. These messages come from users like you, and version 0.9.4 has messages for:

  • Arabic
  • Brazilian Portugese
  • Bulgarian
  • Catalan
  • Chinese
  • Dutch
  • English
  • French
  • German (formal and informal)
  • Upper Sorbian
  • Luxembourgish
  • Norwegian
  • Portuguese
  • Russian
  • Slovak
  • Spanish
  • Swedish
  • Tamil
  • Telugu
  • Vietnamese

Would you like to see support for another language? Please go to translatewiki.net and translate the messages!

To override a particular message in your MediaWiki installation, just add a variable called $wgGoogleMapsCustomMessages to LocalSettings.php. This variable should use the same identifiers that you see in GoogleMaps.i18n.php. For example, if we want to Germanify "yes" and "no":

$wgGoogleMapsCustomMessages = array( 'yes' => 'Ja', 'no' => 'Nein' );

Google Maps Extension for MediaWiki

Introduction - Installation - Editor's Map - Syntax - Compatibility - Languages - Developers - Talk - Versions