diff --git a/src/includes/class/class.LSformElement_date.php b/src/includes/class/class.LSformElement_date.php
index 9357b955..fca7c08a 100644
--- a/src/includes/class/class.LSformElement_date.php
+++ b/src/includes/class/class.LSformElement_date.php
@@ -164,7 +164,7 @@ class LSformElement_date extends LSformElement {
);
LSsession :: addJSconfigParam($this -> name, $params);
- $codeLang = str_replace('_','-',preg_replace('/\..*$/','',LSsession :: getLang()));
+ $codeLang = str_replace('_','-',preg_replace('/\..*$/','', LSlang :: getLang()));
LSsession :: addLibJSscript('arian-mootools-datepicker/Picker.js');
LSsession :: addLibJSscript('arian-mootools-datepicker/Picker.Attach.js');
diff --git a/src/includes/class/class.LSlang.php b/src/includes/class/class.LSlang.php
new file mode 100644
index 00000000..4e3a867f
--- /dev/null
+++ b/src/includes/class/class.LSlang.php
@@ -0,0 +1,192 @@
+
{$loginform_label_pwd|escape:"htmlall"}
- {$lang_label|escape:"htmlall"}
+ {tr msg="Language"}