JS library_translation - gd-99/symbiogd GitHub Wiki
A translation dictionary.
Since 1.0alpha3.
Child of [Webos.Model](JS library_model).
This class hasn't any method.
- String Webos.Translation.language() : Get the user's language.
- Object Webos.Translation.parse(contents) : Parse a translation file.
- String contents The original translation.
- Webos.Translation.setLanguage(locale, callback) : Set the user's language.
- String locale The user's language.
- [Webos.Callback](JS library_callback) callback The callback.