How to add multilanguage support to a Yocto build?

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to add multilanguage support to a Yocto build?

4,565 次查看
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 回复数

2,566 次查看
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 项奖励
回复

2,566 次查看
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 项奖励
回复