Menu

Can't Change Language

Sissssou
2013-03-21
2013-04-05
  • Sissssou

    Sissssou - 2013-03-21

    Hi All,

    First, want to apologize for my english, and want to say thank you for Clonezilla, it's a great solution.

    I have a little probleme when i want to change the language.

    I launch this commande :
    drbl-ocs -b -g auto -e1 auto -e2 -x -r -j2 -o1 -p choose -clients-to-wait 8 -max-time-to-wait 300 -h "172.16.20.1…" -l fr_FR.UTF-8 startdisk multicast_restore L1L2 sda

    i can restore without probleme, but when i want to execute postscript, that don't works because the language on DRBL client after restore is in English, when i put  : locale, i have POSIX.

    So i check in the default_skeleton for see the commande was generate for the start of client, and i see this :

    append initrd=initrd-pxe.img devfs=nomount drblthincli=off selinux=0 text 1 edd=on    ocs_opt="-l en_US.UTF-8  -batch -g auto -e1 auto -e2 -r -clone-hidden-data -run-postrun-dir -p choose -max-time-to-wait 300 -mcast-port 2232 multicast_restoredisk L1L2 sda"

    i don't understand why the line in the previous files doesn't match with the command i launch for my restore.

    I have a package language-pack-fr installed on my server, and i have the language in folder of clonezilla/drbl

    Some of you have an idea for fix this problem, or is just impossible to have client in other language of US ?

    Thanks

    Regard

    Sissssou

     
  • Sissssou

    Sissssou - 2013-03-21

    Hi all again,

    Finally i find a way

    I start drbl with -c like always, and normally after i execute drbl-ocs.
    Now il start drbl and after i add in the this "export LANG=fr_FR.UTF-8 at bottom of /tftpboot/nodes/IP/root/.bashrc
    and i add this into my postrun srcipt : cd /root && ./profile before executing my script on drbl client.

    i'm sur it is possible to make the same thing in better way, so if you can give me some idea :)

    bye
    When clonezilla execute my postrun script everthing is fine.

     
  • Steven Shiau

    Steven Shiau - 2013-03-29

    Yes, that's the solution.
    The "-l fr_FR.UTF-8" for drbl-ocs will only make the server side shows the French output. You are right, we should pass that to clients.
    We will try to improve that in the future.

    Steven.

     

Log in to post a comment.

MongoDB Logo MongoDB