Ticket #315 (closed Bug report: invalid)
wifidog translation problem
| Reported by: | nvp.online@… | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Not yet assigned to a Milestone |
| Component: | Auth server, Usability, Interface and translations | Version: | |
| Keywords: | Cc: | new translations |
Description
i`m having problems with new translations. when i add a new translation according the standart schema (http://dev.wifidog.org/wiki/doc/developer/LanguageTranslation) i`m having problems as i just said. first i create a folder named as i want. then i create a folder hierarchy as follows. generate new .po file (./locale/gen.sh) download, edit with poedit, upload and then compile it (./locale/compile.sh) then i add the translation to the ./config.php as it follows after that i restart the web server, because of the cache. and after all these things when i open the web page with browser, select the language i`ve just added - again english titles. it just can`t get the correct language.
i`ve tried the following thing too: i`ve downloaded some *.mo files from https://dev.wifidog.org/svn/trunk/wifidog-auth/wifidog/locale/ then i added to config.php all the needed information, restart the web server and again - ENGLISH TITLES!
i`ve tried to download the .po files from dev.wifidog.org/svn/trunk/wifidog-auth/wifidog/locale then to compile them and write them to config.php, restart the web server and AGAIN - ENGLISH TITLES :(
everything(each one new language) works fine if its situated in folder named "bg" (/var/www/wifidog/wifidog-auth/locale/bg) and its writed to config.php, but when i add a new translation in folder different than "bg" it just can`t get the correct translation as i said before.
MY CONFIGURATION:
mmachine:/var/www/wifidog-auth/wifidog/locale/es/LC_MESSAGES# pwd /var/www/wifidog-auth/wifidog/locale/es/LC_MESSAGES mmachine:/var/www/wifidog-auth/wifidog/locale/es/LC_MESSAGES# dir total 296 207749 drwxr-xr-x 2 root root 4096 2007-04-23 17:46 . 223864 drwxr-xr-x 3 root root 4096 2007-04-23 17:34 .. 207758 -rw-r--r-- 1 root root 87136 2007-01-18 21:09 messages.mo 207927 -rw-r--r-- 1 root root 194450 2007-01-18 21:09 messages.po mmachine:/var/www/wifidog-auth/wifidog/locale/es/LC_MESSAGES#
and the config.php ... $AVAIL_LOCALE_ARRAY = array( 'en_US' => 'English', 'bg_BG' => 'Bulgarian', 'xy_XY' => 'Deutsch', 'es_ES' => 'Espana' ); ...
Only Bulgarian and English can be selected successfully.When i select different language it is displayed as English.What can i do?
