Class AbstractI18nUtilities

java.lang.Object
com.inductiveautomation.ignition.common.script.builtin.AbstractI18nUtilities
Direct Known Subclasses:
ClientI18nUtilities

public abstract class AbstractI18nUtilities extends Object
  • Constructor Details

    • AbstractI18nUtilities

      public AbstractI18nUtilities()
  • Method Details

    • listKeys

      public List<String> listKeys()
    • listKeysImpl

      protected abstract Collection<String> listKeysImpl()
    • translate

      public Map<String,String> translate(org.python.core.PyObject[] args, String[] keywords)
    • translateImpl

      protected abstract Map<String,String> translateImpl(List<String> keys, @Nullable Locale locale, boolean strict) throws Exception
      Throws:
      Exception
    • modifyTranslations

      public void modifyTranslations(org.python.core.PyObject[] args, String[] keywords)
    • modifyNotes

      public void modifyNotes(org.python.core.PyObject[] args, String[] keywords)
    • modifyTranslationsImpl

      protected abstract void modifyTranslationsImpl(TranslationPackageDiff diff) throws Exception
      Delivers a fully-constructed diff to the appropriate localization service for this scope.
      Throws:
      Exception - if the diff cannot be persisted (e.g. a PushException).