w2utils.lang

Returns translation for the phrase.
lang(phrase);
phrase string, phrase to translate
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()

User Comments

comments powered by Disqus