Demonstrate how to change the locale via loader args
authorAndy Allan <andy@gravitystorm.co.uk>
Sat, 26 Nov 2011 16:25:36 +0000 (16:25 +0000)
committerAndy Allan <andy@gravitystorm.co.uk>
Sat, 26 Nov 2011 16:25:36 +0000 (16:25 +0000)
resources/potlatch2.html

index 5b17f067d5e7341cfe6d2824cdcb2ee50f0cf63b..08080648617183f74a963d2ecaeb480c127ddbe3 100644 (file)
@@ -69,6 +69,7 @@
       args["show_help"] = "once";
       args["site_name"] = "OpenStreetMap";
       args["force_auth"] = "force";
+      args["locale"] = 'en_US';      // you can enjoy de_DE, pl_PL, fr_FR, ja_JP, id_ID, en_GB
 
       var params = false;