Ver Fonte

i18n user page

Serghey Rodin há 13 anos atrás
pai
commit
55b905f86a
1 ficheiros alterados com 3 adições e 0 exclusões
  1. 3 0
      web/edit/user/index.php

+ 3 - 0
web/edit/user/index.php

@@ -13,6 +13,9 @@ include($_SERVER['DOCUMENT_ROOT'].'/templates/header.html');
 // Panel
 top_panel($user,$TAB);
 
+$lang = 'ru_RU.utf8';
+setlocale(LC_ALL, $lang);
+
 // Are you admin?
 if ($_SESSION['user'] == 'admin') {