How to add multilanguage support to a Yocto build?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to add multilanguage support to a Yocto build?

4,787 Views
giorgiopresciut
Contributor II

Dear NXP Community,

I'm trying to add multilanguage support to a Yocto build. In detail I'm trying to setup a clean UTF-8 environment with the following locale: en_US.UTF8.

I tried several build options, such as for example:

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

without success. As of now, the content of my /usr/lib/locale folder is:

en_US

en_GB

no .UTF8 variants.

Does anyone has experience with linux/yocto/locales on i.MX6 based platforms?

Thanks in advance for your time

Best regards,

Giorgio

Labels (3)
0 Kudos
Reply
2 Replies

2,788 Views
joanxie
NXP TechSupport
NXP TechSupport

I give you a sample for how to add chinese on mx6ul board:

 Modify configuration to support Chinese character set.

    $ source setup-environment imx6ul-build-directory

    $ cd conf

    $ vi local.conf      ;add the following two lines to support Chinese in the end

    GLIBC_GENERATE_LOCALES = "zh_CN.UTF-8 en_GB.UTF-8 en_US.UTF-8"

    IMAGE_LINGUAS ?= "zh-cn"

    $ cd .. && bitbake fsl-image-gui

0 Kudos
Reply

2,788 Views
giorgiopresciut
Contributor II

Hi Joan,

I've already tried with those options, no success. Do you know if the support of locales can be affected by the presence/absence of a graphical environment? As of now I'm building a console only image. Are you building with x11?

Thanks in advance for your time

--

Fabio

0 Kudos
Reply