StringTranslator extension

Extension that applies text translation in karee.

This extension adds two methods for translation.

on

Methods

translate() String
Method that considers a string as a key from i18n and return the translation (value associated in your i18n to this key).
translateWithParams(Map<String, String> params) String
Method that considers a string as a key from i18n and replace all the translation parameters params with their values and return the translated string.