Extension:Google Maps/Languages

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 "Hybrid"). 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 has messages for English, Spanish, Catalan, German, and Dutch. Would you like to see support for another language? Read on!

First, to see a list of messages used by the extension, check out Extension:Google Maps/Languages/EN. You will see a number of messages and their identifiers, like this:

'make marker' => 'Caption (wiki mark-up OK):', 'yes' => 'Yes', 'no' => 'No',

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 Extension:Google Maps/Languages/EN. For example, if we want to Germanify "yes" and "no":

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

Simple, huh? Of course, if you spend time translating all these messages, you'll want to share your work with other MediaWiki users, right? I hope so! Please click "[ Edit this page]" and add your language below. Then, paste the contents of your $wgGoogleMapsCustomMessages into the new page. I will include your translation in the next release. (Also, feel free to improve any of the language files you see below.)

Messages by language code
ca - (Catalan, updated 2006-10-26)

de - (German, updated 2007-02-26)

en - (English, updated 2006-10-23)

es - (Spanish, updated 2006-11-22)

fr - (French, updated 2007-02-04)

nl - (Dutch, updated 2007-01-04)

cn - (Chiness, updated 2007-03-06)by wiki.000112.com