- 
Method Summary
void
 
Ensures that the specified key is in the translation package. 
 void
 
Sets a translation for the specified key and locale. 
 void
 
Sets all of the translations for a specific key. 
 void
 
Verifies that the locale is present, adding it if necessary. 
 boolean
 
Removes the specific key, and any translations. 
 void
   void
 
Removes a translation for a specified key and locale. 
 
 
 
 
Methods inherited from interface com.inductiveautomation.ignition.common.i18n.translation.TranslationPackagecreateDiff, get, getAllTranslations, getAvailableKeys, getAvailableLocales, getBaseLocale, getKeyHashRule, getStrict, getTranslationsFor, isDefined, isDefined
 
- 
Method Details
- 
addTermEnsures that the specified key is in the translation package. 
- 
addTranslationSets a translation for the specified key and locale. 
- 
removeTranslationRemoves a translation for a specified key and locale. Used when someone had a translation and blanks it out. 
- 
addTranslationsSets all of the translations for a specific key. Translation map can be null, in which case the key will simply
 be registered in the index. 
- 
removeKeyRemoves the specific key, and any translations. 
- Returns:
- true if key was present
 
- 
ensureLocaleExistsvoid ensureLocaleExists(Locale locale) Verifies that the locale is present, adding it if necessary. 
- 
removeLocalevoid removeLocale(Locale locale)