Difference between revisions of "Modules/localize/Settings"

From MSX Game Library

< Modules‎ | localize

 
Line 3: Line 3:
  
 
Available options:
 
Available options:
<syntaxhighlight lang="c">
+
<syntaxhighlight lang="js">
 
//-- List files to be localized (array)
 
//-- List files to be localized (array)
 
LocFiles = [ "file1.ini", "file2.ini" ];
 
LocFiles = [ "file1.ini", "file2.ini" ];

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.