Difference between revisions of "localize"

From Bohemia Interactive Community
Jump to navigation Jump to search
(+ category)
m
Line 12: Line 12:
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  
| '''localize ''stringName''''' |= Syntax
+
| [[String]] <nowiki>=</nowiki>'''localize ''"[[String]]"''''' |= Syntax
  
|p1= stringName: [[String]] |= Parameter 1
 
  
| [[String]] |= Return value
 
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
 
   
 
   
|x1= <pre>localize "STR_DN_FROG"</pre> |= Example 1
+
|x1= <pre>_LocalString=localize "STR_DN_FROG"</pre> |= Example 1
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________
  

Revision as of 05:52, 28 August 2007

Introduced with Operation Flashpoint version 1.001.00
Effects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on
Hover & click on the images for descriptions

Description

Description:
Replace string with given stringName with corresponding localized text from Stringtable.csv.

Syntax

Syntax:
String =localize "String"
Return Value:
Stringtable.csv File Format

Examples

Example 1:
_LocalString=localize "STR_DN_FROG"

Additional Information

See also:
See also needed

Notes

i
Only post proven facts here. Report bugs on the feedback tracker. Use the Talk page or the Forums for discussions.

Notes

Bottom Section