This class handles loading localized strings from the appropriate JSON string resource, and provides a 'get' method to retrieve localized string values based on a specified key value.
Methods
The constructor takes an options object as its only parameter. The supported properties for this object are as follows:
|
locale |
The locale code to use to load localized strings |
|
filePath |
The path to the folder that contains localized string resource files |
|
onComplete |
A callback method to invoke when the strings have been loaded |
Retrieves the localized string corresponding to the specified key value.