JS library_translation - gd-99/symbiogd GitHub Wiki

A translation dictionary.

Since 1.0alpha3.

Child of [Webos.Model](JS library_model).

Methods

This class hasn't any method.

Static methods

  • 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.
⚠️ **GitHub.com Fallback** ⚠️