Difference between revisions of "cmf main fnc localize"

From cluster wiki
Jump to navigation Jump to search
(Created page with "{{CMF Function |game1=arma3 |version1=0.50 |game2=cmf3 |version2=2.1.0 |descr=This function is used to localize strings. |exec=Call |cmp=main |s1=[stringtablePath, strin...")
 
 
Line 22: Line 22:


|x1= {{code|lang=scilab|["Path/To/stringtable.sqf", "STR_cmf_3den_spawn"] call cmf_main_fnc_localize;}}
|x1= {{code|lang=scilab|["Path/To/stringtable.sqf", "STR_cmf_3den_spawn"] call cmf_main_fnc_localize;}}
|seealso= [[cmf_main_fnc_addonBlacklist]] [[cmf_main_fnc_missionInit]]
[[cmf_main_fnc_playerInit]] [[cmf_main_fnc_serverInit]]
}}
}}

Latest revision as of 21:56, 17 December 2022


Hover & click on the images for description
Description
Description:
This function is used to localize strings.
Execution:
Call
Groups:
CMF3: main
Syntax
Syntax:
[stringtablePath, string] call cmf_main_fnc_localize
Parameters:
stringtablePath: String - The path to your stringtable
string: String - The string to localize
Return Value:
Localized string or string if stringtable or localization failed
Examples
Example 1:
["Path/To/stringtable.sqf", "STR_cmf_3den_spawn"] call cmf_main_fnc_localize;
Additional Information
See also:
cmf_main_fnc_addonBlacklist cmf_main_fnc_missionInit cmf_main_fnc_playerInit cmf_main_fnc_serverInit
Internal Variables
No internal variables
Events
No events
Notes