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.00
  Effects of this scripting command are not broadcasted over the network and remain local to the client the command is executed on

Click on the images for descriptions

Introduced in

Game:
Operation Flashpoint
Version:
1.00

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

Multiplayer:
-
See also:
See also needed

Notes

Only post proven facts here. Report bugs on the feedback tracker. Use the talk page or the forums for discussions.
Add New Note | How To

Notes

Bottom Section