Localizable
Mixin
Mixin that provides localization functionality to a class.
// Get localized string
grid.L('foo');
grid.L('L{foo}');
Useful functions
| Function | Description |
|---|---|
| L | Returns the localized string for the given key |
| optionalL | Returns localized string or the raw value if not found |
See also
- LocaleManager - Singleton that manages locale switching
No results
Configs
Configs are options you supply in a configuration object when creating an instance of this class-
Set to
falseto disable localization of this object.
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of Localizable class, or subclass thereof.
-
Identifies an object as an instance of Localizable class, or subclass thereof.
-
Get the global LocaleHelper
-
Get the global LocaleManager