Returns translation for the
phrase.
lang(phrase, params);
phrase |
string, phrase to translate |
params |
object, values to be replaces |
If you have provided translations for your locale, you can use this method to find translated phrases. All translations are stored in
w2utils.settings.phrases and loaded with
.locale()