TGLocalization class
Localization for each locale loads values from json file.
Constructors
- TGLocalization(Locale? locale)
Properties
Methods
-
load(
) → Future< bool> - Load Json File name based on Language Code and Country Code. Example: "{languageCode}_{countryCode}.json" > "en_us.json"
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
prepareLocaleCustomPath(
) → String -
text(
String key) → String - Text related to localised key. In case of entry won't found, will return back key as text.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- LOCALE_PATH → const String