Difference between revisions of "Modules/localize"

From MSX Game Library

< Modules

(Created page with "The {{MOD|localize}} module handle translation in several langage of your application. This module is very small in size and very efficient. == Dependencies == Dependency on...")
 
(Build tool configuration)
Line 7: Line 7:
 
=== MSXgl configuration ===
 
=== MSXgl configuration ===
 
=== Build tool configuration ===
 
=== Build tool configuration ===
 +
 +
//-- 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";
  
 
== Usage ==
 
== Usage ==

Revision as of 11:20, 24 November 2023

The localize module handle translation in several langage of your application. This module is very small in size and very efficient.

Dependencies

Dependency on other modules: None.

Settings

MSXgl configuration

Build tool configuration

//-- 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";

Usage

Annexe

  • See also: Sample program {{SAMPLE|s_loc

Documentation