Skip to main content

DEFAULT_SRC_LANG

Constant DEFAULT_SRC_LANG 

Source
pub const DEFAULT_SRC_LANG: &str = "EN";
Expand description

Two-letter source-language code assumed when none is recorded on disk.

Translations have always been authored against the English base, so legacy files (which predate the src_lang field) and freshly created translations both end up with this value. Uppercase to match how language is stored elsewhere in the translator; not the same thing as rpfm_lib::games::ENGLISH, which is the lowercase identifier used for game data file naming (e.g. local_en.pack).