Difference between revisions of "HPL3/Language Configuration"
(Created page with "When displaying any kind of text on the screen in a mod (For example, when picking up a note to reading it), the mod refers to a file in which that text information is stored...") |
|||
Line 1: | Line 1: | ||
− | When displaying any kind of text on the screen | + | {{wip}} |
+ | |||
+ | {{shortPageTitle}} | ||
+ | When displaying any kind of text on the screen (For example, when picking up a note and reading it), the mod refers to a file in which that text information is stored in. That file is called a '''language file'''. Each language has their own language files. For example, if your mod has English and Czech translations, you will have separate English and Czech language files. | ||
+ | |||
+ | {{note|Not every mod requires a language file. Only if your mod has notes, messages, translations and so on, it should have its own language file.}} | ||
+ | |||
+ | == Setting Up Language Files == | ||
+ | |||
+ | |||
+ | === Base Language File === | ||
{{note|Any category content that is placed inside your language file will override the category content of the main game's language file. If you do not need to change the content of a certain category in your language file, do not copy it.}} | {{note|Any category content that is placed inside your language file will override the category content of the main game's language file. If you do not need to change the content of a certain category in your language file, do not copy it.}} | ||
+ | |||
+ | {{tip|Look at the structure of the main game's language files and try to mimic that in your own language file. There is no need to re-invent the wheel or guess how to properly structure it if the main game already offers a solution for that.}} | ||
+ | |||
+ | === Main Language File === | ||
+ | |||
+ | [[Category:Modding]] | ||
+ | [[Category:English]] |
Revision as of 19:08, 25 August 2020
This article is actively undergoing a major edit. The user who added this notice will be listed in its edit history should you wish to contact them. |
When displaying any kind of text on the screen (For example, when picking up a note and reading it), the mod refers to a file in which that text information is stored in. That file is called a language file. Each language has their own language files. For example, if your mod has English and Czech translations, you will have separate English and Czech language files.