Andreas Brachold ha scritto:
Hello,


Am Mittwoch, den 12.08.2009, 00:34 +0200 schrieb Diego Pierotto:
  
Anyway, after created the mo file i run Xxv but i can't see the
italian rows just translated. I set it_IT.UTF8 in xxvd file and it_IT
in xxv.cfg file without success.
    

Please check follow things :

* exits the file (readable)
   "$XXVD/locale/it/LC_MESSAGES/xxv.mo"



* but into etc/init.d/xxvd could define a other directory 	
  see "man $XXVD/doc/xxvd.1"
       --localedir=DIRECTORY



* It used locale installed really 
  (check too proper spelling for environment value)
#> locale -a
C
de_DE
...
de_DE.utf8
deutsch
german
POSIX



* check used "LANG" from "bin/xxvd" process environment variables

#> ps axf | grep xxvd 
<PID>        SN     0:04 /usr/bin/perl -W ./xxvd --configfile ....


#> (cat /proc/<PID>/environ; echo) | tr "\000" "\n" | grep LANG
LANG=de_DE.utf8






Kind regards,
Andreas


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

  
Hi Andreas,
well i just copy the xxv.mo created with Poedit in the /usr/local/share/xxv/locale/it/LC_MESSAGES and now i can see the right translations.

Can i ask why i see the module names in english? Is that normal or i need to translate the file for the JSON interface (i saw a file called "lang-de.js" in the file download section but it's in german and i can't understand nothing)?

Thanks in advance,
Diego

-- 
Member of the Italian VDR Wiki
http://vdr.spaghettilinux.org/