En/na Luca Olivetti ha escrit: > En/na Klaus Schmidinger ha escrit: > >> - The parameter OSDLanguage in 'setup.conf' is now a string and holds the locale >> code of the selected OSD language (e.g. en_US). If Setup.OSDLanguage is not >> set to a particular locale that is found in VDR's locale directory, the >> locale as defined in the system environment is used by default. > > My system locale is set as ca_ES: > > [vdr@vdr vdr]$ locale > LANG=ca_ES.UTF-8 > LC_CTYPE=ca_ES.UTF-8 > LC_NUMERIC=ca_ES.UTF-8 > LC_TIME=ca_ES.UTF-8 > LC_COLLATE=ca_ES.UTF-8 > LC_MONETARY=ca_ES.UTF-8 > LC_MESSAGES=ca_ES.UTF-8 > LC_PAPER=ca_ES.UTF-8 > LC_NAME=ca_ES.UTF-8 > LC_ADDRESS=ca_ES.UTF-8 > LC_TELEPHONE=ca_ES.UTF-8 > LC_MEASUREMENT=ca_ES.UTF-8 > LC_IDENTIFICATION=ca_ES.UTF-8 > LC_ALL= > > If I leave OSDLanguage empty, the menus are in spanish. If I go to the > setup menu I can only select English and Spanish, all other languages > show the three letter code and are not selected. > If I select "Spanish" OSDLanguage is set to ca_ES and the menus are in > spanish. > > I set the LOCDIR in Make.config (to /home/vdr/vdr/locale, maybe is this > the problem?) and in that directory I have the ca_ES subdirectory (as > well as all other languages). > > In the log I see this: > vdr: [6184] VDR version 1.5.7 started > vdr: [6184] codeset is 'UTF-8' - known > vdr: [6184] found 21 locales in /home/vdr/vdr/locale > vdr: [6184] no locale for language code 'deu,ger' > vdr: [6184] no locale for language code 'slv,slo' > vdr: [6184] no locale for language code 'ita' > vdr: [6184] no locale for language code 'dut,nla,nld' > vdr: [6184] no locale for language code 'por' > vdr: [6184] no locale for language code 'fra,fre' > vdr: [6184] no locale for language code 'nor' > vdr: [6184] no locale for language code 'fin,smi' > vdr: [6184] no locale for language code 'pol' > vdr: [6184] no locale for language code 'ell,gre' > vdr: [6184] no locale for language code 'sve,swe' > vdr: [6184] no locale for language code 'rom,rum' > vdr: [6184] no locale for language code 'hun' > vdr: [6184] no locale for language code 'cat,cln' > vdr: [6184] no locale for language code 'rus' > vdr: [6184] no locale for language code 'hrv' > vdr: [6184] no locale for language code 'est' > vdr: [6184] no locale for language code 'dan' > vdr: [6184] no locale for language code 'cze,ces' > vdr: [6184] no locale for language code 'tur' it appears that, even if the setlocale call succeeds, gettext doesn't find the correct translation for LanguageCode (it always returns esl, very strange since ca_ES is the first one tried). If I leave just the ca_ES directory, LanguageCode is untranslated. Bye -- Luca _______________________________________________ vdr mailing list vdr@xxxxxxxxxxx http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr