[imp] a litte touble with the languages

Harald G. Harald.XXL@t-online.de
Fri, 17 May 2002 18:38:30 +0200


Hallo all together,

i have a little trouble with the languages in imp.

I Debug like the instructions from the README in ./horde/po

I update in ./horde/config/lang.php
$nls['defaults']['language'] = 'nl_NL'; 

|Debugging 

|---------
|Is this locale (nl_NL) installed at all?
|$ locale -a
|should list all locales installed on your system.

What is 'locale -a' 

|Do you have any .mo files? Usually in /usr/share/locale/
|e.g. /usr/share/locale/nl/LC_MESSAGES/tar.mo

I don't have any file like *.mo (i have directories like /de_DE.ISO8859-1 
And i don't have directory like ./nl/* or ./de/*

Why ?
(Please don't say: Read the README)

|Does gettext even work?
|Get a string to translate,
|$ strings /bin/tar | grep Memory
|Memory exhausted
|$ (LANG=nl_NL; gettext tar "Memory exhausted" )
|Geheugen uitgeput

strings /usr/bin/tar | grep Memory
Memory exhausted

(LANG=nl_NL; gettext tar "Memory exhausted" )
Memory exhausted

There comes no hollandaise output

|Create a file in the horde directory, langtest.php:
|.....
|.....

webbrowsers output is: 
Memory exhausted
Bericht
Bericht

Thanks in advance an for your time to read

Harald Gwose