Re: [vdr] Question about locales

2008-06-30 Thread Brian
oleg roitburd wrote:
> Hi,
> 
> 2008/6/29 Brian <[EMAIL PROTECTED]>:
> 
>> I have added "-L /usr/local/src/VDR/locale" to runvdr,
>> that didn't make any difference, if I get the error message from run vdr 
>> then it still says
>> ./locale in that message. Not sure if that is important or not.
>>
> 
> Option -L provide a placement of Plugins
> For locales is option --localedir 
> 
> Regards
> Oleg Roitburd
> 
> ___
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
> 
Oleg,
thanks for pointing that out, I was sure I had read that -L and --localedir 
were the same.

Cheers Brian

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


Re: [vdr] Question about locales

2008-06-30 Thread Brian
Michael Mauch wrote:
> Brian wrote:
> 
>> 4. English EPG is shown, mostly correctly. But for example "Her's" is shown 
>> as "Her&apos.s".
>>But, I get that info via xmltv2vdr, so I wonder if the problem is there 
>> instead of in vdr.
> 
> That's most probably a problem of xmltv2vdr (or its input data). I don't
> think there's anything in VDR that would translate a perfectly good
> ASCII character into a broken HTML encoding. The apostrophe is at the
> same character position in ASCII, Latin-1 and UTF-8, so there's really
> nothing that could go wrong.
> 
> Maybe you can find that "Her&apos" in the xmltv input data.
> 
>   Michael
> 
> 
> ___
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
> 
Michael,

thats the way it turned out. Epg2timers collects the data and apparently the 
correct
way to store an apostrophe in xml is as '. Xmltv2vdr just passed it on as 
it was.
After investigating the code I found a method had been provided to translate 
strings
in the input to other strings in the output and that solved it for me.

Thanks

Cheers Brian

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


Re: [vdr] Question about locales

2008-06-30 Thread oleg roitburd
Hi,

2008/6/29 Brian <[EMAIL PROTECTED]>:

> I have added "-L /usr/local/src/VDR/locale" to runvdr,
> that didn't make any difference, if I get the error message from run vdr then 
> it still says
> ./locale in that message. Not sure if that is important or not.
>

Option -L provide a placement of Plugins
For locales is option --localedir 

Regards
Oleg Roitburd

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


Re: [vdr] Question about locales

2008-06-29 Thread Michael Mauch
Brian wrote:

> 4. English EPG is shown, mostly correctly. But for example "Her's" is shown 
> as "Her&apos.s".
>But, I get that info via xmltv2vdr, so I wonder if the problem is there 
> instead of in vdr.

That's most probably a problem of xmltv2vdr (or its input data). I don't
think there's anything in VDR that would translate a perfectly good
ASCII character into a broken HTML encoding. The apostrophe is at the
same character position in ASCII, Latin-1 and UTF-8, so there's really
nothing that could go wrong.

Maybe you can find that "Her&apos" in the xmltv input data.

  Michael


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


Re: [vdr] Question about locales

2008-06-29 Thread Brian
Brian wrote:
> Hi,
> 
> after moving to VDR 1.6 and a new Debian 2.6 based system I still need to 
> play with locales.
> The System language I am using is English:
> 
> VDR-test: locale
> LANG=en_GB.UTF-8
> LC_CTYPE="en_GB.UTF-8"
> LC_NUMERIC="en_GB.UTF-8"
> LC_TIME="en_GB.UTF-8"
> LC_COLLATE="en_GB.UTF-8"
> LC_MONETARY="en_GB.UTF-8"
> LC_MESSAGES="en_GB.UTF-8"
> LC_PAPER="en_GB.UTF-8"
> LC_NAME="en_GB.UTF-8"
> LC_ADDRESS="en_GB.UTF-8"
> LC_TELEPHONE="en_GB.UTF-8"
> LC_MEASUREMENT="en_GB.UTF-8"
> LC_IDENTIFICATION="en_GB.UTF-8"
> LC_ALL=
> 
> Currently my locale is somehow not set correctly and runvdr cannot find 
> anything in ./locale.
> 
> What I would like to know is, if I am using English EPG and German EPG, plus 
> I want the OSD
> of VDR to appear in English. Is that possible, will all characters be 
> displayed correctly?
> I also want vdr to output its logs in english, which is explained in the docs 
> OK.
> 
> So how should VDR be setup for what I want?
> 
> Cheers Brian
> 
> ___
> vdr mailing list
> vdr@linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
> 
Just a short update about my tests.

I have added "-L /usr/local/src/VDR/locale" to runvdr,
that didn't make any difference, if I get the error message from run vdr then 
it still says
./locale in that message. Not sure if that is important or not.

Anyway I have set

export LC_COLLATE=en_GB.utf8
export LANG=en_GB.utf8

at the start of runvdr, and that got rid of the missing locales messages.

That gives me the following:

1. OSD is in English
2. VDRADMIN data is also in English
3. German EPG is shown correctly with all special characters that I have seen 
up to now
(umläute etc.).
4. English EPG is shown, mostly correctly. But for example "Her's" is shown as 
"Her&apos.s".
But, I get that info via xmltv2vdr, so I wonder if the problem is there 
instead of in vdr.

Cheers Brian



















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