Buscar
 
 

Resultados por:
 


Rechercher Búsqueda avanzada

Navegación
 Índice
 Wiki
 FAQ del foro
 FAQ del VDR-NG-EM
 Funcionalidades del VDR
 Mejoras del VDR-NG-EM
 Primeros pasos FW-VDR
 Descargas VDR-NG-EM
Flujo RSS


Yahoo! 
MSN 
AOL 
Netvibes 
Bloglines 



Configuration Files

Ver el tema anterior Ver el tema siguiente Ir abajo

Configuration Files

Mensaje por RainerW el Dom 31 Ene 2010 - 8:10

Hi,

I'm trying to compile the Firmware with linux.
Compiling works fine so far, however before I upgrade
I would like to setup certain things in the Firmware.
Where can I find the configuration files I have to modify
(like rc.conf rc.local.conf resolv.conf channels.conf
streamdevhosts.conf svdrphosts.conf)
I assume they are in /VDR-NG-EM/VDR-NG-FW/buildin/base-pro/common/etc and
/VDR-NG-EM/VDR-NG-FW/prg-fw-configs/vdr-m7x0/common/etc/vdr ??
Also I would like to setup vdr in German, how can I manage that ?

Thanks,

Rainer

RainerW

Cantidad de envíos : 38
Fecha de inscripción : 31/01/2010
Edad : 60

Ver perfil de usuario

Volver arriba Ir abajo

Re: Configuration Files

Mensaje por bittor el Lun 1 Feb 2010 - 12:29

Hi RainerW,

Yes, these are the directories that you must use.

Here you have any commands for set german language in firmware:
# VDR languages
Código:
sed -i -e "s/^AudioLanguages.*/AudioLanguages = deu/" VDR-NG-EM/VDR-NG-FW/prg-fw-configs/vdr-m7x0/common/etc/vdr/setup.conf
sed -i -e "s/^EPGLanguages.*/EPGLanguages = deu/" VDR-NG-EM/VDR-NG-FW/prg-fw-configs/vdr-m7x0/common/etc/vdr/setup.conf
sed -i -e "s/^OSDLanguage.*/OSDLanguage = 1/" VDR-NG-EM/VDR-NG-FW/prg-fw-configs/vdr-m7x0/common/etc/vdr/setup.conf

# LC_ALL variable
Código:
sed -i -e "s/^export LC_ALL.*/export LC_ALL=de_DE/" VDR-NG-EM/VDR-NG-FW/prg-fw-configs/vdr-m7x0/common/etc/vdr/runvdr

# Help plugin in english
Código:
rm -rf VDR-NG-EM/VDR-NG-FW/prg-fw-configs/vdr-m7x0/common/etc/vdr/plugins/help/esl
mkdir VDR-NG-EM/VDR-NG-FW/prg-fw-configs/vdr-m7x0/common/etc/vdr/plugins/help/deu
cp VDR-NG-EM/VDR-Plugins/Config-dir/plugins/help/eng/* VDR-NG-EM/VDR-NG-FW/prg-fw-configs/vdr-m7x0/common/etc/vdr/plugins/help/deu

# webif
Código:
sed -i -e "s/^default language.*/default language = 1/" VDR-NG-EM/VDR-NG-FW/buildin/base-pro/common/etc/webif.conf

Do not forget to add your channels file in:
Código:
VDR-NG-EM/VDR-NG-FW/prg-fw-configs/vdr-m7x0/m740/etc/vdr/channels.conf

Bug with german character ä not yet fixed.

For translate setup plugin, copy xml file from english:
Código:
cp VDR-NG-EM/VDR-NG-FW/prg-fw-configs/vdr-m7x0/common/etc/vdr/plugins/setup/open7x0-setup.xml VDR-NG-EM/VDR-NG-FW/prg-fw-configs/vdr-m7x0/common/etc/vdr/plugins/setup/open7x0-setup_deu.xml
avatar
bittor
Desarrollador

Cantidad de envíos : 3632
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

Ver perfil de usuario http://bittor7x0.googlepages.com

Volver arriba Ir abajo

Re: Configuration Files

Mensaje por RainerW el Lun 1 Feb 2010 - 13:33

Hi bittor,

thanks for the information.


Rainer

RainerW

Cantidad de envíos : 38
Fecha de inscripción : 31/01/2010
Edad : 60

Ver perfil de usuario

Volver arriba Ir abajo

Re: Configuration Files

Mensaje por RainerW el Mar 2 Feb 2010 - 18:25

Hi bittor,

I'll assume these changes have to be done everytime I do
an svn update ?
I almost finished a little shell script (make-lang) which will do
these changes to different languages (de,fr,en,es).
Also I'm working on a shell script (make-config-save/make-config-restore) which will save/restore my individual settings.
Any interest to use them once they are done and tested ?


Regards,

Rainer

RainerW

Cantidad de envíos : 38
Fecha de inscripción : 31/01/2010
Edad : 60

Ver perfil de usuario

Volver arriba Ir abajo

Re: Configuration Files

Mensaje por pjllaneras el Mar 2 Feb 2010 - 20:08

RainerW escribió:I'll assume these changes have to be done everytime I do
an svn update ?
Yes
RainerW escribió:I almost finished a little shell script (make-lang) which will do
these changes to different languages (de,fr,en,es).
I think this is only necessary if language is not spanish.
RainerW escribió:Also I'm working on a shell script (make-config-save/make-config-restore) which will save/restore my individual settings.
Any interest to use them once they are done and tested ?
We was talking to make some changes in compilation scripts, and this was an idea to improve them... It would be great if you share your scripts when you have finished them.

Regards,
avatar
pjllaneras
Betatester

Cantidad de envíos : 569
Fecha de inscripción : 29/01/2009
Edad : 45
Localización : Palma de Mallorca

Ver perfil de usuario

Volver arriba Ir abajo

Re: Configuration Files

Mensaje por RainerW el Miér 3 Feb 2010 - 6:20

Hi,

can someone tell me the different codes for the languages ?
For german it is de_DE, deu, 1
French fr_FR,fra, ?
English en_EN,eng,?

Regards,

Rainer

P.S. Once done I'm more than happy to contribute these little scripts

RainerW

Cantidad de envíos : 38
Fecha de inscripción : 31/01/2010
Edad : 60

Ver perfil de usuario

Volver arriba Ir abajo

Re: Configuration Files

Mensaje por bittor el Miér 3 Feb 2010 - 9:14

Thanks, we need scripts for language support.

· English:
AudioLanguages => eng
EPGLanguages => eng
OSDLanguage => 0
LC_ALL => en_US
help plugin => eng
webif => 0

· Spanish:
AudioLanguages => esl
EPGLanguages => esl
OSDLanguage => 10
LC_ALL => es_ES
help plugin => esl
webif => 2

· German:
AudioLanguages => deu
EPGLanguages => deu
OSDLanguage => 1
LC_ALL => de_DE
help plugin => deu (copied from eng)
webif => 1

· French:
AudioLanguages => fra
EPGLanguages => fra
OSDLanguage => 6
LC_ALL => fr_FR
help plugin => fra (copied from eng)
webif => 3
avatar
bittor
Desarrollador

Cantidad de envíos : 3632
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

Ver perfil de usuario http://bittor7x0.googlepages.com

Volver arriba Ir abajo

Re: Configuration Files

Mensaje por RainerW el Miér 3 Feb 2010 - 9:42

Hi biitor,

thanks for the info

Script is almost completed. I'll test it tonight.
Once done should I post it here as an attachment ?
Why would you need to change the translation settings to spanish ?

Regards,

Rainer

RainerW

Cantidad de envíos : 38
Fecha de inscripción : 31/01/2010
Edad : 60

Ver perfil de usuario

Volver arriba Ir abajo

Re: Configuration Files

Mensaje por bittor el Miér 3 Feb 2010 - 16:08

OK, spanish isn't necessary and this forum not allowed to add attachments but you can upload scripts to rapidshare, megaupload, ... and post link here.
avatar
bittor
Desarrollador

Cantidad de envíos : 3632
Fecha de inscripción : 25/06/2008
Localización : Zaragoza

Ver perfil de usuario http://bittor7x0.googlepages.com

Volver arriba Ir abajo

Re: Configuration Files

Mensaje por Contenido patrocinado


Contenido patrocinado


Volver arriba Ir abajo

Ver el tema anterior Ver el tema siguiente Volver arriba


 
Permisos de este foro:
No puedes responder a temas en este foro.