Customize default language with OS Builder
John Watlington
wad at laptop.org
Sun Mar 24 20:35:15 EDT 2013
If you change the LO tag for a laptop before the first boot of an image,
its value will get picked up and used.
- Stop a boot in OFW by pressing the ESC key.
- fs-update (or copy-image) the new image into place
- Change the manufacturing tag:
change-tag LO fr_FR.UTF-8 / only works if the same size as current tag
(or if a different size, use:)
delete-tag LO
(on reboot, stop in OFW again and:)
add-tag LO fr_FR.UTF-8
Cheers,
wad
On Mar 24, 2013, at 6:54 PM, Jerry Vonau wrote:
> 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
>
>
> _______________________________________________
> Devel mailing list
> Devel at lists.laptop.org
> http://lists.laptop.org/listinfo/devel
More information about the Devel
mailing list