Re: [vdr] How to set German OSD in VDR 1.5.8

2007-08-23 Thread Matthias Fechner
Hello Anssi,

* Anssi Hannula [EMAIL PROTECTED] [22-08-07 16:33]:
 Could you try what these commands print in VDR source directory:
 TEXTDOMAINDIR=./locale TEXTDOMAIN=vdr LANGUAGE=de_DE gettext -s \
   'LanguageName$English'

LanguageName$English

 TEXTDOMAINDIR=./locale TEXTDOMAIN=vdr LANGUAGE=de gettext -s \
   'LanguageName$English'

LanguageName$English

 TEXTDOMAINDIR=./locale TEXTDOMAIN=vdr LANGUAGE=de_XYZ gettext -s \
   'LanguageName$English'

LanguageName$English

Gettext is version 0.16.1


Best regards,
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] How to set German OSD in VDR 1.5.8

2007-08-23 Thread Anssi Hannula
Matthias Fechner wrote:
 Hello Anssi,
 
 * Anssi Hannula [EMAIL PROTECTED] [22-08-07 16:33]:
 Could you try what these commands print in VDR source directory:
 TEXTDOMAINDIR=./locale TEXTDOMAIN=vdr LANGUAGE=de_DE gettext -s \
  'LanguageName$English'
 
 LanguageName$English
 
 TEXTDOMAINDIR=./locale TEXTDOMAIN=vdr LANGUAGE=de gettext -s \
  'LanguageName$English'
 
 LanguageName$English
 
 TEXTDOMAINDIR=./locale TEXTDOMAIN=vdr LANGUAGE=de_XYZ gettext -s \
  'LanguageName$English'
 
 LanguageName$English
 
 Gettext is version 0.16.1

Same here, so that is not it.

Does locale/de_DE/LC_MESSAGES/vdr.mo exist in VDR directory?

What distro?

Does the localization work in other programs, like ls --help and so on?

-- 
Anssi Hannula

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] How to set German OSD in VDR 1.5.8

2007-08-23 Thread Matthias Fechner
Hello Anssi,

* Anssi Hannula [EMAIL PROTECTED] [23-08-07 14:56]:
 Does locale/de_DE/LC_MESSAGES/vdr.mo exist in VDR directory?

yes it exists:
20 -rw-r--r-- 1 root root 18013 Aug 20 14:47 vdr.mo

 What distro?

gentoo

 Does the localization work in other programs, like ls --help and so on?

yes, LANG=de_DE ls --help gives german help and ls --help gives
english help.

Best regards,
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] How to set German OSD in VDR 1.5.8

2007-08-23 Thread Matthias Fechner
Hello Anssi,

* Anssi Hannula [EMAIL PROTECTED] [23-08-07 16:14]:
 And when using LANGUAGE=de_DE instead of LANG=de_DE?

that does not work, ls --help keeps english with LANGUAGE=de_DE only
LANG=de_DE works.

Best regards,
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] How to set German OSD in VDR 1.5.8

2007-08-23 Thread Matthias Fechner
Hi Anssi,

Anssi Hannula wrote:
 What is the output of locale?

it says:
LANG=
LC_CTYPE=POSIX
LC_NUMERIC=POSIX
LC_TIME=POSIX
LC_COLLATE=POSIX
LC_MONETARY=POSIX
LC_MESSAGES=POSIX
LC_PAPER=POSIX
LC_NAME=POSIX
LC_ADDRESS=POSIX
LC_TELEPHONE=POSIX
LC_MEASUREMENT=POSIX
LC_IDENTIFICATION=POSIX
LC_ALL=

I checked the manpage of locale and it says that I can set the following
variables:
LANG
LC_ALL
LC_CTYPE
LC_MESSAGES
NLSPATH

I checked then the homepage of gettext and it says:
Then, users only have to set the LANG environment variable to the
appropriate `ll_CC' combination prior to using the programs in the
package. See Matrix. For example, let's presume a German site. At the
shell prompt, users merely have to execute `setenv LANG de_DE' (in csh)
or `export LANG; LANG=de_DE' (in sh). They could even do this from their
.login or .profile file.

see here:
http://www.gnu.org/software/gettext/manual/gettext.html#End-Users

I checked also the version of gettext and it seems that the current
version of gettext is 0.16 which I have installed.

Are you using an older version of gettext?

Best regards,
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] How to set German OSD in VDR 1.5.8

2007-08-22 Thread Matthias Fechner
Hi Luca,

Luca Olivetti wrote:
 That shouldn't be necessary with 1.5.8: I only have 3 locales installed 
 but I can select all languages from the osd setup menu (and see the 
 corresponding translations).

hm, that is strange. I have here a vanilla VDR (with some plugins but
the sourcecode of VDR is not touched)

I compiled it with:
make REMOTE=LIRC VFAT=1 NO_KBD=1

But I am not able to select different languages in the menu.


Best regards,
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] How to set German OSD in VDR 1.5.8

2007-08-22 Thread Anssi Hannula
Matthias Fechner wrote:
 Hi Luca,
 
 Luca Olivetti wrote:
 That shouldn't be necessary with 1.5.8: I only have 3 locales installed 
 but I can select all languages from the osd setup menu (and see the 
 corresponding translations).
 
 hm, that is strange. I have here a vanilla VDR (with some plugins but
 the sourcecode of VDR is not touched)
 
 I compiled it with:
 make REMOTE=LIRC VFAT=1 NO_KBD=1
 
 But I am not able to select different languages in the menu.

Could you try what these commands print in VDR source directory:
TEXTDOMAINDIR=./locale TEXTDOMAIN=vdr LANGUAGE=de_DE gettext -s \
'LanguageName$English'
TEXTDOMAINDIR=./locale TEXTDOMAIN=vdr LANGUAGE=de gettext -s \
'LanguageName$English'
TEXTDOMAINDIR=./locale TEXTDOMAIN=vdr LANGUAGE=de_XYZ gettext -s \
'LanguageName$English'


-- 
Anssi Hannula

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] How to set German OSD in VDR 1.5.8

2007-08-21 Thread Udo Richter
Matthias Fechner wrote:
 cp Make.config.template Make.config
 edit it and set LOCDIR=./locale
 
 ok I changed it, now VDR says at startup:
 Aug 20 14:53:36 localhost vdr: [23028] found 21 locales in ./locale
 Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'deu,ger'
 [..]
 But in the OSD I can select between several LanguageName$English and
 English but no german translation.

Post the output of locale -a. You may need to install missing locales, 
check your distribution on how to.


Cheers,

Udo

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] How to set German OSD in VDR 1.5.8

2007-08-21 Thread Matthias Fechner
Hi Udo,

Udo Richter wrote:
 Post the output of locale -a. You may need to install missing locales, 
 check your distribution on how to.

hm, that is a really long list, I deleted many lines and kept only the
hopefully relevant stuff:
C
POSIX
...
de_AT.utf8
[EMAIL PROTECTED]
de_BE
de_BE.utf8
[EMAIL PROTECTED]
de_CH
de_CH.utf8
de_DE
de_DE.utf8
[EMAIL PROTECTED]
de_LU
de_LU.utf8
[EMAIL PROTECTED]
...
en_AU
en_AU.utf8
en_BW
en_BW.utf8
en_CA
en_CA.utf8
en_DK
en_DK.utf8
en_GB
en_GB.utf8
en_HK
en_HK.utf8
en_IE
en_IE.utf8
[EMAIL PROTECTED]
en_IN
en_NZ
en_NZ.utf8
en_PH
en_PH.utf8
en_SG
en_SG.utf8
en_US
en_US.utf8
en_ZA
en_ZA.utf8
en_ZW
en_ZW.utf8
...
zu_ZA
zu_ZA.utf8

Best regards,
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] How to set German OSD in VDR 1.5.8

2007-08-21 Thread Luca Olivetti
En/na Udo Richter ha escrit:
 Matthias Fechner wrote:
 cp Make.config.template Make.config
 edit it and set LOCDIR=./locale
 ok I changed it, now VDR says at startup:
 Aug 20 14:53:36 localhost vdr: [23028] found 21 locales in ./locale
 Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'deu,ger'
 [..]
 But in the OSD I can select between several LanguageName$English and
 English but no german translation.
 
 Post the output of locale -a. You may need to install missing locales, 
 check your distribution on how to.

That shouldn't be necessary with 1.5.8: I only have 3 locales installed 
but I can select all languages from the osd setup menu (and see the 
corresponding translations).

Bye
-- 
Luca


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] How to set German OSD in VDR 1.5.8

2007-08-20 Thread Halim Sahin
Hi,
I had the same problem and Klaus helped me very fast!!


cp Make.config.template Make.config
edit it and set LOCDIR=./locale
HTH.
Halim


___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr


Re: [vdr] How to set German OSD in VDR 1.5.8

2007-08-20 Thread Matthias Fechner
Hi Halim,

Halim Sahin wrote:
 cp Make.config.template Make.config
 edit it and set LOCDIR=./locale

ok I changed it, now VDR says at startup:
Aug 20 14:53:36 localhost vdr: [23028] found 21 locales in ./locale
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'deu,ger'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'slv,slo'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'ita'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code
'dut,nla,nld'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'por'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'fra,fre'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'nor'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'fin,smi'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'pol'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'esl,spa'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'ell,gre'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'sve,swe'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'rom,rum'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'hun'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'cat,cln'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'rus'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'hrv'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'est'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'dan'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'cze,ces'
Aug 20 14:53:36 localhost vdr: [23028] no locale for language code 'tur'


But in the OSD I can select between several LanguageName$English and
English but no german translation.

Best regards,
Matthias

-- 

Programming today is a race between software engineers striving to
build bigger and better idiot-proof programs, and the universe trying to
produce bigger and better idiots. So far, the universe is winning. --
Rich Cook

___
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr