...
Retrieve a Localized String By Base String
Aptify.framework.utility.cache.getCultureLocalString is the method that is used to return the localized string based on the Base String. This method accepts an object. Only the baseString property should be provided for a lookup on Base String. If stringName is provided, it will be used for the match. Using stringName for the match is the preferred approach.
Code Block | ||||
---|---|---|---|---|
| ||||
//Find the Culture String using the Base String. Base String is not guaranteed to be unique so the first match will be used.
//Use the Base String 'Favorites'. Note that stringName is not provided. If stringName is provided, it will be used for the Culture
//String match. Using stringName to match on Culture String Name is preferred. The Base String match is used by some core Form Components
//and has been kept for backwards compatibility.
//'Favorites' is the baseString that will be used if no match is found or if there is no Local String for the User's Culture.
var localizedFavorites = Aptify.framework.utility.cache.getCultureLocalString({
baseString: 'Favorites'
});
|
Localization Metadata
The metadata for localization is found under the Localization Application in the Cultures and Culture Strings Entities. There is also a link to a Cultures record in the Users Entity.
...