Extension:Google Maps/Languages

From MediaWiki.org
Jump to: navigation, search

Introduction - Installation - Editor's Map icon - Coding instructions - Compatibility - Languages - Developers - Talk

Note: I think, this page is obsolete since 0.9.43. --Wikinaut (talk) 20:23, 12 March 2012 (UTC)

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 see SVN 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' );
Personal tools
Namespaces

Variants
Actions
Navigation
Support
Download
Development
Communication
Print/export
Toolbox