This object represents an isolated context for working with translations without modifying the plugin translations itself.
You can create a new instance of this object by calling Locale.newLocalizedTexts()
Método |
Descrição |
obj:addText(localeId, textId, text) |
Add a single translation entry to the LocalizedTexts object. Arguments:
|
Search for a translation to be used for the current user's language. Arguments:
Returns:
Remarks:
|
|
obj:loadTexts(langTexts) |
Loads a ".lang" file so that more translated text can be found by the obj:lang() and obj:tryLang() methods. Arguments:
Remarks:
|
|
This function works similarly to the obj:lang() method, except it does not raise an error if the text entry does not exist. In such a case, a nil value is returned. |
Created with the Personal Edition of HelpNDoc: Free Kindle producer