Documentation / API Reference

Lang

get #

Arguments
name String

Returns the value of the specified language variable.


let value = this.lang.get('myplugin.get-code');

parse #

Arguments
str String

Parses a string with a language variable.


let str = this.lang.parse('My string with ');