Support other languages and keyboards than English in Yocto

From KoanSoftware Wiki
Revision as of 16:16, 29 February 2024 by Koan (talk | contribs) (Created page with "== How to Support other languages and keyboards than English in Yocto == Generally Yocto release packages only support English character set. When you need to support more...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

How to Support other languages and keyboards than English in Yocto

Generally Yocto release packages only support English character set.

When you need to support more languages for localization there is a solution.

In this example we are supporting Chinese character set in Yocto Project image.

Edit local.conf and add the following two lines to support Chinese keyboard:

GLIBC_GENERATE_LOCALES = "zh_CN.UTF-8 en_GB.UTF-8 en_US.UTF-8"
IMAGE_LINGUAS ?= "zh-cn"


Or these settings install the Finnish locales and set it as the default language and keyboard for the image:

GLIBC_GENERATE_LOCALES = "en_US.UTF-8 fi_FI.UTF-8"
IMAGE_LINGUAS = "fi-fi"