Add the languages array
This commit is contained in:
parent
fcc586b591
commit
8de0d2a08f
|
|
@ -39,6 +39,9 @@ else {
|
||||||
|
|
||||||
//add multi-lingual support
|
//add multi-lingual support
|
||||||
require_once "app_languages.php";
|
require_once "app_languages.php";
|
||||||
|
foreach($text['button-save'] as $key => $value) {
|
||||||
|
$languages[$key] = '';
|
||||||
|
}
|
||||||
foreach($text as $key => $value) {
|
foreach($text as $key => $value) {
|
||||||
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
$text[$key] = $value[$_SESSION['domain']['language']['code']];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue