get

Arguments
name String

Returns the value of the specified language variable.

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

parse

Arguments
str String

Parses a string with a language variable.

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