Skip to content

Translations

Ezequiel edited this page May 8, 2023 · 4 revisions

Translations for CadZinho interface (localisation)

Default language (English - UK):

config2

Translation to Portuguese - Brazil:

config3



How to create a translation

Create or edit .lua files in lang folder. Each file is specific for one variant language. The file name must be coded according POSIX convention (standarts ISO 639-1 and ISO 3166-1 alpha-2), like lang_COUNTRY codes (eg. en_US.lua, pt_BR.lua, cz_CZ.lua). File contents is writen in Lua language and must be encoded in UTF8. See pt_BR.lua (Brazilian portuguese) example:

language


NOTE: For non latin-script languages (eg. cyrillic, japanese, chinese), you may need to change the interface font in config.lua file:

fonts