Difference between revisions of "Modules/localize/Settings"
From MSX Game Library
(Created page with " The localization process can be customized in your Build tool configuration file, <tt>project_config.js</tt>. Available options: //-- List files to be localized (array) Lo...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
Available options: | Available options: | ||
− | + | <syntaxhighlight lang="js"> | |
− | + | //-- List files to be localized (array) | |
− | + | LocFiles = [ "file1.ini", "file2.ini" ]; | |
− | + | ||
− | + | //-- Localization output filename (string) | |
− | + | LocOutput = "localization.h"; | |
− | + | ||
− | + | //-- Localization structure name (string) | |
+ | LocStruct = "g_LocData"; | ||
+ | </syntaxhighlight> | ||
<u>Note</u>: If <tt>LocFiles</tt> is empty (default value), the localization process is disabled. | <u>Note</u>: If <tt>LocFiles</tt> is empty (default value), the localization process is disabled. |
Latest revision as of 23:34, 4 January 2024
The localization process can be customized in your Build tool configuration file, project_config.js.
Available options:
//-- List files to be localized (array) LocFiles = [ "file1.ini", "file2.ini" ]; //-- Localization output filename (string) LocOutput = "localization.h"; //-- Localization structure name (string) LocStruct = "g_LocData";
Note: If LocFiles is empty (default value), the localization process is disabled.