site  contact  subhomenews

Language choice in initrd now translated

May 22, 2023 — BarryK

The first time that you boot Easy, there is text-mode GUI asking for choice of language. There is a snapshot here:

https://bkhome.org/news/202301/first-bootup-2-letter-language-asked-in-initrd.html

The names of the countries are all in English. The problem I had then was the 'dialog' utility was not displaying UTF-8 characters. It is supposed to be able to, but wasn't.

The initrd is using PSFU console fonts, but that is not the problem. I discovered that 'dialog' does not like LANG=C, it wants LANG set to a UTF-8 locale. OK, I set "LANG=en_US.UTF-8" just to run 'dialog', and that fixed it. Snapshot:

img1

Also, I am currently experimenting with the 'zap' 512-glyph PSFU fonts:

https://www.zap.org.au/projects/console-fonts-zap/

Here are the relevant github commits:

https://github.com/bkauler/woofq/commits/b3b105cbd54b7e5b601a7444f1129767e90c2b75

There are still two English words at the top, "Choose language", they will have to stay.    

Tags: easy