Files
Benjamin Kyd e283f82fc3 Bro
2021-04-30 03:54:03 +01:00
..
2021-04-12 23:39:16 +01:00
Bro
2021-04-30 03:54:03 +01:00
Bro
2021-04-30 03:54:03 +01:00
idk
2021-04-14 00:10:50 +01:00
Bro
2021-04-30 03:54:03 +01:00
Bro
2021-04-30 03:54:03 +01:00
Bro
2021-04-30 03:54:03 +01:00
2021-04-04 02:37:30 +01:00

language files

Language files start on the line after 4 hyphens, everything prior is metadata about the language. Some will be parsed by the locale parser

Locales are defined by their locale code, the translations are seperated by a colon (:) after the locale code.

Sometimes context clues may be neccesary for an accurate translation, everything after a semicolon won't be interpreted by the parser, therefore context clues can be given. These will be defined in the english (en) file

Code:Translation/Text;Context

Capitalisation is also important, if the english words are capitalised, the translations need to be capitalised in the same (if it makes sense) place

development

For development look for the scripts folder, there are scripts to translate the lang files to the locale file and vice verse