[yocto] UTF-89 support

Keskinarkaus, Teemu teemu.keskinarkaus at crosscontrol.com
Tue Nov 8 03:05:47 PST 2016


Hi,

I tried that. I have now these lines in the local.conf

GLIBC_GENERATE_LOCALES = "en_GB en_US en_GB.UTF-8 en_US.UTF-8"
IMAGE_LINGUAS = "en-gb en-us"

I had to add the "en-us" to IMAGE_LINGUAS or I would only get en_GB locale and not en_US at all. Still missing the UTF-8 locales though.

Teemu Keskinarkaus
Software system engineer
CrossControl
making machines smart, safe and productive


-----Original Message-----
From: Khem Raj [mailto:raj.khem at gmail.com]
Sent: 7. marraskuuta 2016 22:12
To: Paul Eggleton
Cc: yocto at yoctoproject.org; Keskinarkaus, Teemu
Subject: Re: [yocto] UTF-89 support

On Mon, Nov 7, 2016 at 11:48 AM, Paul Eggleton <paul.eggleton at linux.intel.com> wrote:
> On Mon, 07 Nov 2016 09:24:18 Khem Raj wrote:
>> On 11/7/16 3:48 AM, Keskinarkaus, Teemu wrote:
>> > Hi,
>> >
>> >
>> >
>> > I tried googling this and reading the manual, but I guess this is
>> > too trivial or I’m doing something wrong.
>> >
>> >
>> >
>> > I’m trying to get UTF-8 support to my image. UTF-8 locale more specific.
>> > If I run locale –a command I get these locales listed:
>> >
>> > C
>> >
>> > POSIX
>> >
>> > en_GB
>> >
>> > en_US
>> >
>> >
>> >
>> > I added this line to my local.conf:
>> >
>> > GLIBC_GENERATE_LOCALES = "en_GB.UTF-8 en_US.UTF-8 en_GB en_US"
>>
>> you also need to set IMAGE_LINGUAS to include it into image e.g.
>>
>> GLIBC_GENERATE_LOCALES = "en-gb"
>
> I guess you meant IMAGE_LINGUAS = "en-gb"

yes thanks for noting

>
> Cheers,
> Paul
>
> --
>
> Paul Eggleton
> Intel Open Source Technology Centre

________________________________

Actuant Corporation Email Notice

This message is intended only for the use of the Addressee and may contain information that is PRIVILEGED and/or CONFIDENTIAL.
This email is intended only for the personal and confidential use of the recipient(s) named above. If the reader of this email is not an intended recipient, you have received this email in error and any review, dissemination, distribution or copying is strictly prohibited.
If you have received this email in error, please notify the sender immediately by return mail and permanently delete the copy you received.

Thank you.


More information about the yocto mailing list