Added template function: lang

Added template function "lang" to the template compiler. From now
on, you can use language variables an a template.