How to add language to installed system and locales change

Dear All,
Can I change locales and language to already installed image? If yes, how can I do that?

hi @kamil

To add a language, you must install locale for the corresponding language as described in the Angstrom Manual on page 25.

Hi @jaski.tx

Do I need to add some external repo? I can find only one locale-base in current image repo list

opkg list | grep locale-base
locale-base-en-us - 2.26-r0

try with opkg list | grep <package-name>-locale-<language>.

this command is for locales for exact package. I want to set locale to X11 session. After I have run command

opkg install *locale-pl

I still can’t see any new locales during login to X11 session and after run command:

localectl list-locales

hi @kamil

Unfortunately you cannot add system language to the already existing image. You need to add the language during the open-embedded build using the variable IMAGE_LINGUAS = “pl_PL”.

Best regards, Jaski

hi @jaski.tx
Not sure if I shouldn`t create new question but after downloading image with command:

repo init -u -b refs/tags/Apalis-iMX6_LXDE-Image_2.8b3.111-20180626
repo sync

after running export I see MACHINE ?= “colibri-t20” in conf/local.conf file instead of apalis imx 6

hi @kamil

Please create a new question with all the details about the issue. Thanks.