Customize default language with OS Builder

Jerry Vonau jvonau at shaw.ca
Sun Mar 24 18:54:18 EDT 2013


On Sun, 2013-03-24 at 23:02 +0100, lionel at olpc-france.org wrote:
> Hi all,
> 
>  
> 
> I’ve seen that the « langs= » property in the .ini for OS Builder
> allow to choose the language sets installed on the image.
> 
> I wonder if there is a way to specify the default language (FR instead
> of EN for example).
> 
> Do I need to use a custom script for that?
> 
>  

Yes, sugar reads ~/.i18n for the language list in cp-languages. You
could do something like:

cat << EOF >> /home/olpc/.i18n

LANGUAGE=en_GB.utf8:en_US.utf8
EOF

 
This will only work if olpc-utils version 3.0.3 or later is used in the
image, prior versions deleted .i18n when first booted.

Jerry





> 
> Thanks in advance for your answer.
> 
>  
> 
>                 Lionel.
> 
>  
> 
>  
> 
> 
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel





More information about the Devel mailing list