diff --git a/admin/languages/_lang.js b/admin/languages/_lang.js new file mode 100644 index 00000000..b113bdc5 --- /dev/null +++ b/admin/languages/_lang.js @@ -0,0 +1,5 @@ +var gisAppLanguages = [ + ['sl', 'slovenščina', 'ux-flag-si'], + ['en', 'English', 'ux-flag-en'], + ['de', 'Deutsch', 'ux-flag-de'] +]; \ No newline at end of file diff --git a/admin/logindialog/js/login.js b/admin/logindialog/js/login.js index 7c8622b4..9a5847bb 100644 --- a/admin/logindialog/js/login.js +++ b/admin/logindialog/js/login.js @@ -95,6 +95,7 @@ else { extraParamValue: map, enableVirtualKeyboard: true, language: langsel, + languageStore: gisAppLanguages, onSuccess : function (form, action) { if (this.fireEvent('success', this, action)) { // enable buttons diff --git a/index.php b/index.php index 0a3747c5..0da3a516 100644 --- a/index.php +++ b/index.php @@ -213,7 +213,7 @@ - + @@ -221,7 +221,7 @@ - +