java.lang.Object
net.sourceforge.jbizmo.commons.i18n.I18N

public class I18N extends Object

Utility class for the translation of text fragments

Copyright 2017 (C) by Martin Ganserer

Version:
1.0.0
Author:
Martin Ganserer
  • Field Details

  • Method Details

    • getTranslation

      public static String getTranslation(ResourceBundle resourceBoundle, String key, Object... params)
      Parameters:
      resourceBoundle -
      key -
      params -
      Returns:
      the translation text from the given resource bundle by using the given key
    • getTranslationForFieldLabel

      public static String getTranslationForFieldLabel(ResourceBundle resourceBoundle, String key)
      Parameters:
      resourceBoundle -
      key -
      Returns:
      the translation for a field label from the given resource bundle by using the given key