Difference between revisions of "Modules/localize/Settings"

From MSX Game Library

< Modules‎ | localize

(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...")
 
Line 3: Line 3:
  
 
Available options:
 
Available options:
//-- List files to be localized (array)
+
<syntaxhighlight lang="c">
LocFiles = [ "file1.ini", "file2.ini" ];
+
//-- List files to be localized (array)
+
LocFiles = [ "file1.ini", "file2.ini" ];
//-- Localization output filename (string)
+
 
LocOutput = "localization.h";
+
//-- Localization output filename (string)
+
LocOutput = "localization.h";
//-- Localization structure name (string)
+
 
LocStruct = "g_LocData";
+
//-- 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.

Revision as of 23:31, 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.