How to add multilanguage support to a Yocto build?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to add multilanguage support to a Yocto build?

6,078件の閲覧回数
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

ラベル(3)
0 件の賞賛
返信
2 返答(返信)

4,079件の閲覧回数
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 件の賞賛
返信

4,079件の閲覧回数
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 件の賞賛
返信