SV: SV: [imp] norwegian doesn't work from login or prefs, only options. Other languages work...

huleboer huleboer@fifpro.net
Fri, 8 Feb 2002 10:20:13 +0100


whee :)

That did the trick.. had to do it both inn the horde dir and the imp dir
it looked like... By the way I also noticed that russian and ukranian
won't work.. probably same "error" there...

also when compiling the languages I had this little error..

Compiling locale zh_TW:
zh_TW.po:40: invalid control sequence
zh_TW.po:215: invalid control sequence
zh_TW.po:419: end-of-line within string
zh_TW.po:422: invalid control sequence
zh_TW.po:426: invalid control sequence
zh_TW.po:449: invalid control sequence
zh_TW.po:555: invalid control sequence
zh_TW.po:560: invalid control sequence
found 8 fatal errors
  ... FAILED

looks lke that language won't compile... (I just removed the file and
compiled it since I don't need it)

Conserning country codes for Norwegian nynorsk (it really blows my mind
that someone actually have made a traslation to it since it's probably
only 50.000 ppl total inn the world who speeks it) locale -a |grep -i no
gave me "nynorsk" as an option.. I guess you could just use the full
name when creating a bookmål nynorsk translation of imp?

> -----Opprinnelig melding-----
> Fra: Jan Schneider [mailto:jan@horde.org] 
> Sendt: 7. februar 2002 12:45
> Til: imp@lists.horde.org
> Kopi: oystein@rexta.net; huleboer
> Emne: Re: SV: [imp] norwegian doesn't work from login or 
> prefs, only options. Other languages work...
> 
> 
> [Please keep this on the IMP list.]
> 
> I really don't understand why your system has such an odd 
> behaviour. But 
> one reason may be that you don't have system locales for no_BOK.
> 
> I'd try to rename the no_BOK.po files to no_NO.po. Then recompile all 
> translations, rename no_BOK in lang.php to no_NO, delete all 
> stored user 
> preferences for 'language' and give it another try.
> 
> Zitat von huleboer <huleboer@fifpro.net>:
> 
> > root@babylon5/usr/share/locale# locale -a |grep -i no
> > nb_NO
> > nb_NO.ISO-8859-1
> > nn_NO
> > nn_NO.utf8
> > no_NO
> > no_NO.utf8
> > norwegian
> > nynorsk
> > 
> > I don't have no_BOK wich is used inn lang.php. I tried 
> chaning it to 
> > no_NO, nb_NO or norwegian without any sucess.
> > 
> > root@babylon5/usr/local/share/locale# ls -la 
> /usr/local/share/locale/ 
> > total 108
> > drwxr-xr-x   27 root     root         4096 Feb  1 15:39 ./
> > drwxr-xr-x    8 root     root         4096 Feb  1 15:39 ../
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 cs/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 da/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 de/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 el/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 
> en\@boldquot/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 en\@quot/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 es/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 et/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 fr/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 gl/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 id/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 it/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 ja/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 ko/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 nl/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 nn/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 no/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 pl/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 pt/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 pt_BR/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 ru/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 sl/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 sv/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 tr/
> > drwxr-xr-x    3 root     root         4096 Feb  1 15:39 zh/
> > 
> > so I guess I have the files....
> > 
> > root@babylon5/usr/local/share/locale# (LANG=no_BOK; 
> LANGUAGE=no_BOK; 
> > gettext tar "Memory exhausted" ) Memory exhausted
> > 
> > Tried it with no, no_NO, nb_NO and norwegian...
> > 
> > I also tried:
> > (LANG=nl_NL; LANGUAGE=nl_NL; gettext tar "Memory exhausted" 
> ) Memory 
> > exhausted
> > 
> > so that didn't work either? But it works inn imp.. The 
> strange thing 
> > is that it works if I set it inside imp.. just not when I 
> select it at 
> > login (or default, or default prefs)
> > 
> > export 
> > 
> =
TEXTDOMAINDIR=/chroot/apache/webhotel/192.168.0.100/html/horde/locale/
> > (LANG=nl_NL; gettext horde "Message" )
> > Bericht
> > 
> > works
> > 
> > export 
> > 
> =
TEXTDOMAINDIR=/chroot/apache/webhotel/192.168.0.100/html/horde/locale/
> > (LANG=no_BOK; gettext horde "Message" )
> > Message
> > 
> > doesn't work (it should be "beskjed" or something)
> > 
> > I tried making the langtest.php file but it didn't output anything.
> > 
> > I'm using my own compiled gettext-0.10.40 (strait forward) 
> and my own 
> > compiled apache/php newest versions on redhat 7.2 (7.1 
> tested aswell).
> > 
> > I even tried looking inn the no_BOK.po file and recompiled it (make
> > install) but that didn't work either... any clues? Kind of strange 
> > that a few of those tests didn't work on my machines... but 
> I've never 
> > used gettext before so I have really no clue what the cause of it 
> > is...
> > 
> > > -----Opprinnelig melding-----
> > > Fra: Jan Schneider [mailto:jan@horde.org]
> > > Sendt: 7. februar 2002 10:35
> > > Til: imp@lists.horde.org
> > > Emne: Re: [imp] norwegian doesn't work from login or prefs, 
> > > only options. Other languages work...
> > > 
> > > 
> > > Zitat von huleboer <huleboer@fifpro.net>:
> > > 
> > > > How come norwegian doesn't work if selected from the login
> > > menu or set
> > > > it inn prefs.conf or as default inn lang.conf? For some
> > > weird resond
> > > > it works if I select it from options when I've logged 
> inn.. but it
> > > > refuses to be set default or chosen at login time... guess 
> > > this is a
> > > > bug or do I have to few brain cels?
> > > > 
> > > > It works fine setting all other languages I've tested.. 
> it's just
> > > > norwegian that won't work...
> > > 
> > > That's really strange. Please run the tests in po/README or better
> > > http://cvs.horde.org/co.php/horde/po/README to see if you 
> > > find the causing 
> > > problem.
> > > 
> > > Jan.
> > > 
> > > --
> > > http://www.horde.org - The Horde Project http://www.ammma.de - 
> > > discover your knowledge http://www.tip4all.de - Deine private > 
> > > Tippgemeinschaft
> > > 
> > > --
> > > 
> > > IMP mailing list: http://horde.org/imp/
> > > Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> > > Frequently Asked Questions: http://horde.org/faq/
> > > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> > > 
> > > 
> > 
> > 
> 
> 
> Jan.
> 
> --
> http://www.horde.org - The Horde Project
> http://www.ammma.de - discover your knowledge 
> http://www.tip4all.de - Deine private > Tippgemeinschaft
>