-
Notifications
You must be signed in to change notification settings - Fork 3
Translation
The OTP javascript webapp can be switch between different languages. Things to know about multiple languages in OTP:
-
The available languages are here : http://opentripplanner.org/browser/trunk/opentripplanner-webapp/src/main/webapp/js/otp/locale
-
To switch between languages, one needs to change the variable 'otp.config.locale' in file config.js (line 11)
-
Many of these translations are a bit out of date (and thus contain 'default' English translations where a translation string is missing). As of May 2011, Italian.js, followed by Spanish.js (missing a few new strings) are the most complete. If you can help translate any of the language files, or want to add a new language, additions and updates would be more than welcome by user mailing list.
A discussion on getting Italian translations into OTP might be interesting.