I’m trying to add Polish language and locales during image build as follows but with no success:
I have downloaded recipies with command:
repo init -u http://git.toradex.com/toradex-bsp-platform.git -b refs/tags/Apalis-iMX6_LXDE-Image_2.8b3.111-20180626
I have added polish language support to the end of the file build/conf/local.conf
GLIBC_GENERATE_LOCALES ?= "pl_PL.UTF-8 en_US.UTF-8"
ACCEPT_FSL_EULA = "1"
I have compiled image with command:
bitbake -k angstrom-lxde-image
First build failed but after change from inherit autotools to inherit autotools-brokensep in v4l-utils recipe I have successfully made an image. After unpacking image I can only see:
So there is still no Polish locales in the new created image.
I have checked ipk and correct ipks were generated:
find ../oe-core/deploy/ipk/ -name *pl* | grep glibc
so probably I need to create recipe which is installing it
Thanks for this information. You could install these ipk packages on the module and then check if Polish appears under lib/locale/.
Hi @jaski.tx already did it and locales appeared, and I can see polish language with X session
Ok, thanks for the Information.
According to the bitbake documentation, the language packages should be included in the image. I will try this on my side and come back to you.
hi, i have the same behavior when I did the build. We will check for a solution and come back to you.
we found a solution. You need to append the language, this will add the language also to the
Please add the following to your local.conf
IMAGE_LINGUAS_append = " pl-pl"
(there is a space between the first quote and the word pl-pl)
Best regards, Jaski