Skip to main content
Package: com.phoenix_int.util Class Hierarchy

Declaration
Helper class to do internationalization.

Nested Class Summary

Constructor Summary

Method Summary

Methods inherited from class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

PHXInternationalize

PHXInternationalize

Creates a new instance of PHXInternationalize

Method Detail

setTestMode

In test mode it automatically prefixes all translations with some consistent garbage so that we can test that translating doesn’t break anything.

tr

tr

trLazy

Return a lazily instantiated translation message that can be computed only if needed. Parameters:
  • id - The translation key
Returns:
  • An object which can be evaluated to compute the translation message

trLazy

Return a lazily instantiated translation message that can be computed only if needed. Parameters:
  • id - The translation key
  • args - The arguments to the translation message
Returns:
  • An object which can be evaluated to compute the translation message