initial work on translations, covering the PHP side of it

This commit is contained in:
El RIDO
2015-09-05 02:24:56 +02:00
parent 28776ac178
commit a2af88a36e
10 changed files with 409 additions and 57 deletions

View File

@@ -1162,4 +1162,9 @@ class RainTpl_SyntaxException extends RainTpl_Exception{
}
}
// shorthand translate function for use in templates
function t() {
return call_user_func_array(array('i18n', 'translate'), func_get_args());
}
// -- end