[vdr] VDR loading locale

Rainer Blickle rainer.blickle at googlemail.com
Tue Nov 30 06:56:59 CET 2010


I have/had this problem when starting vdr not in the directory where
the binary is. I used the parameter --localedir=..., but it didn't
work. The default value for the locale dir is ./locale.

At the moment i am changing to the directory where the vdr binary is
located and start it there.

2010/11/29 crow <crow at linux.org.ba>:
> In my case i selected these
> bs_BA.UTF-8 UTF-8
> bs_BA ISO-8859-2
> de_AT.UTF-8 UTF-8
> de_AT ISO-8859-1
> de_AT at euro ISO-8859-15
> en_US.UTF-8
> en_US.ISO-8859-1
>
> And did locale-gen to generate these, and all went fine. Just on VDR
> 1.7.16 start I see in its log this:
>
> Nov 29 16:16:40 localhost vdr: [14907] VDR version 1.7.16 started
> Nov 29 16:16:40 localhost vdr: [14907] switched to user 'vdr'
> Nov 29 16:16:40 localhost vdr: [14907] codeset is 'UTF-8' - known
> Nov 29 16:16:40 localhost vdr: [14907] found 0 locales in /usr/share/locale
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'deu,ger'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'slv,slo'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'ita'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'dut,nla,nld'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'por'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'fra,fre'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'nor'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'fin,suo'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'pol'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'esl,spa'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'ell,gre'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'sve,swe'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'rom,rum'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'hun'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'cat,cln'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'rus'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'hrv'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'est'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'dan'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'cze,ces'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'tur'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'ukr'
> Nov 29 16:16:40 localhost vdr: [14907] no locale for language code 'ara'
>
> And no other language then English is posible to select inside OSD Settings.
> If i just add these more inside /etc/locale.gen
> de_DE.UTF-8 UTF-8
> de_DE ISO-8859-1
> de_DE at euro ISO-8859-15
>
> and do again locale-gen (which also went fine), in log is to see this:
>
> Nov 29 16:18:52 localhost vdr: [17933] VDR version 1.7.16 started
> Nov 29 16:18:52 localhost vdr: [17933] switched to user 'vdr'
> Nov 29 16:18:52 localhost vdr: [17933] codeset is 'UTF-8' - known
> Nov 29 16:18:52 localhost vdr: [17933] found 27 locales in /usr/share/locale
> Nov 29 16:18:52 localhost vdr: [17933] no locale for language code 'por'
> Nov 29 16:18:52 localhost vdr: [17933] loading plugin:
> /usr/lib/vdr/plugins/libvdr-signal.so.1.7.16
>
> And i can select there other language then just English, even no
> locale for them.
> Is this above normal behavior or something is wrong here...
>
> _______________________________________________
> vdr mailing list
> vdr at linuxtv.org
> http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
>



More information about the vdr mailing list