Ticket #315 (closed Bug report: invalid)

Opened 13 years ago

Last modified 13 years ago

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?

Change History

  Changed 13 years ago by benoitg

  • priority changed from high to normal

Form the symptome, it would seem that you do not have the appropriate locales files installed on your OS for languages other than bulgarian. But normally wifidog would warn you. You can check with the command: locale -a

How to install the missing locale depends on your distribution. Tell us if that helps.

follow-ups: ↓ 4 ↓ 5   Changed 13 years ago by anonymous

the output of the "locale -a" is: mmachine:/var/www/wifidog-auth/wifidog/locale# locale -a bg_BG bg_BG.cp1251 C POSIX mmachine:/var/www/wifidog-auth/wifidog/locale#

what this means and what can i do in this case? wifidog works under Debian 3.1

  Changed 13 years ago by anonymous

ps. i have all the necessary files for other languages than english, ive downloaded them from trunk folder in this server as im keepin the directory hierarchy right.

in reply to: ↑ 2   Changed 13 years ago by anonymous

Replying to anonymous:

the output of the "locale -a" is: mmachine:/var/www/wifidog-auth/wifidog/locale# locale -a bg_BG bg_BG.cp1251 C POSIX mmachine:/var/www/wifidog-auth/wifidog/locale# what this means and what can i do in this case? wifidog works under Debian 3.1

this information obviously isn`t enough for me

in reply to: ↑ 2   Changed 13 years ago by benoitg

  • status changed from new to closed
  • resolution set to invalid

Replying to anonymous:

the output of the "locale -a" is: mmachine:/var/www/wifidog-auth/wifidog/locale# locale -a bg_BG bg_BG.cp1251 C POSIX mmachine:/var/www/wifidog-auth/wifidog/locale# what this means and what can i do in this case? wifidog works under Debian 3.1

From that output, you do not have any of the es locales installed, so this is not a wifidog problem. You can ask a debian list (or the mailing list) how to add the es locales under debian 3.1.

Note: See TracTickets for help on using tickets.