Difference between revisions of "Modules/localize"
From MSX Game Library
< Modules
(→Build tool configuration) |
|||
Line 3: | Line 3: | ||
== Dependencies == | == Dependencies == | ||
Dependency on other modules: ''None''. | Dependency on other modules: ''None''. | ||
+ | |||
+ | == Usage == | ||
== Settings == | == Settings == | ||
Line 10: | Line 12: | ||
//-- List files to be localized (array) | //-- List files to be localized (array) | ||
LocFiles = [ "file1.ini", "file2.ini" ]; | LocFiles = [ "file1.ini", "file2.ini" ]; | ||
− | + | ||
//-- Localization output filename (string) | //-- Localization output filename (string) | ||
LocOutput = "localization.h"; | LocOutput = "localization.h"; | ||
− | + | ||
//-- Localization structure name (string) | //-- Localization structure name (string) | ||
LocStruct = "g_LocData"; | LocStruct = "g_LocData"; | ||
− | |||
− | |||
== Annexe == | == Annexe == |
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.
Contents
Dependencies
Dependency on other modules: None.
Usage
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";
Annexe
- See also: Sample program {{SAMPLE|s_loc
Documentation