Module pdx_syntax::localization
source · Expand description
Syntax of paradox localization file
Paradox mainly uses yml
as the format of their localizaiton files. However,
there is a weird syntax in files. Specifically, the ‘:’ might be followed with
a number. For example: ABC:0 "This is ABC"
. I haven’t worked out the meaning
of the number, however, it adds no difficulty to the parser. Here the parser
just gives an ambiguous result.
Modules
Structs
- Entry, e.g.,
ABC:0 "This is ABC"
. - Language, e.g.,
l_english:
. - A localization file. Begin with a language specifier, following with a list of localization entries.
Functions
- Parse a given paradox file.