| Name | Type | Description |
|---|---|---|
lang |
String | The current language. This parameter is required. |
Example
var translator = new sogv.I18n(lang);
var translatedMessage = translator.getText(message, parameters);
Methods
-
Returns the translation.
Name Type Description messageString The message which need to be translated parametersObject The message parameters Returns:
Type Description String Translated and processed message