Class: Locales

TypeScript defined in: typescript/AppRate.d.ts
CoffeeScript defined in: www_src/AppRate.coffee

Overview

Collection of Locale objects

Class Method Summary

Class Method Details

. (Locale) addLocale(localeObject)

Add locale to collection

Parameters:

Returns:

  • ( Locale ) — Added locale object

. (Locale) getLocale(language, applicationTitle = '')

Get locale from collection by language

Parameters:

  • language ( String ) BCP 47 language tag
  • applicationTitle ( String )

Returns:

  • ( Locale ) — Locale object or null

See also:

. (Array<String>) getLocalesNames()

Get list of locales names

Returns:

  • ( Array<String> ) — List of locales names

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: