archinstall/archinstall/locales
neko_0xff edf8bf9b0a
Update base.po (#3285)
2025-03-21 22:12:08 +11:00
..
ar/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
ca/LC_MESSAGES Update Catalan translation (#3175) 2025-02-14 12:21:39 +11:00
cs/LC_MESSAGES Czech localization update (#3163) 2025-02-08 11:52:16 +11:00
de/LC_MESSAGES Update base.po (#3184) 2025-02-20 07:37:13 +11:00
el/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
en/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
es/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
et/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
fi/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
fr/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
ga/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
he/LC_MESSAGES Update Hebrew translation. (#3229) 2025-03-06 21:47:33 +11:00
hi/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
hu/LC_MESSAGES Update hungarian translation (#3191) 2025-02-22 23:02:54 +11:00
id/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
it/LC_MESSAGES Update Italian translation (#3270) 2025-03-20 09:21:24 +11:00
ja/LC_MESSAGES Update Japanese translation (#3157) 2025-02-02 10:14:49 +11:00
ka/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
ko/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
lt/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
nl/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
pl/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
pt/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
pt_BR/LC_MESSAGES Update base.po (#3164) 2025-02-08 11:54:04 +11:00
ro/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
ru/LC_MESSAGES Update Russian translation (#3216) 2025-03-02 10:43:10 +11:00
sv/LC_MESSAGES Update base.po (#3171) 2025-02-11 18:25:20 +11:00
ta/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
tr/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
uk/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
ur/LC_MESSAGES Update .po, base.pot and archinstall/locales/es/LC_MESSAGES/base.mo files. (#3149) 2025-01-31 07:25:44 +11:00
zh-CN/LC_MESSAGES Improve, fix and complete zh-CN translation (#3180) 2025-02-19 08:04:24 +11:00
zh-TW/LC_MESSAGES Update base.po (#3285) 2025-03-21 22:12:08 +11:00
README.md Improve, fix and complete zh-CN translation (#3180) 2025-02-19 08:04:24 +11:00
base.pot Improve, fix and complete zh-CN translation (#3180) 2025-02-19 08:04:24 +11:00
languages.json Add Lithuanian translation (#2274) 2023-12-01 16:17:14 +01:00
locales_generator.sh Fix up locale generator to exit on error instead of ignoring it, handle filenames better (#2422) 2024-04-16 19:05:50 +10:00

README.md

Nationalization

Archinstall supports multiple languages, which depend on translations coming from the community :)

Important Note

Before starting a new language translation be aware that a font for that language may not be available on the ISO.

Fonts that are using a different character set than Latin will not be displayed correctly. If those languages want to be selected, then a proper font has to be set manually in the console.

All available console fonts can be found in /usr/share/kbd/consolefonts and they can be set with setfont LatGrkCyr-8x16.

Adding new languages

New languages can be added simply by creating a new folder with the proper language abbreviation (see list languages.json if unsure). Run the following command to create a new template for a language

mkdir -p <abbr>/LC_MESSAGES/ && touch <abbr>/LC_MESSAGES/base.po

After that run the script ./locales_generator.sh <lang_abbr> it will automatically populate the new base.po file with the strings that need to be translated into the new language. For example the base.po might contain something like the following now

#: lib/user_interaction.py:82
msgid "Do you really want to abort?"
msgstr ""

The msgid is the identifier of the string in the code as well as the default text to be displayed, meaning that if no translation is provided for a language then this is the text that is going to be shown.

Perform translations

To perform translations for a language, the file base.po can be edited manually, or the neat poedit can be used (https://poedit.net/). If editing the file manually, write the translation in the msgstr part

#: lib/user_interaction.py:82
msgid "Do you really want to abort?"
msgstr "Wollen sie wirklich abbrechen?"

After the translations have been written, run the script once more ./locales_generator.sh and it will auto-generate the base.mo file with the included translations. After that you're all ready to go and enjoy Archinstall in the new language :)