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...")
 
 
(One intermediate revision by the same user not shown)
Line 3: Line 3:
  
 
Available options:
 
Available options:
//-- List files to be localized (array)
+
<syntaxhighlight lang="js">
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.

Latest revision as of 00:34, 5 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.