Difference between revisions of "localize"

From Bohemia Interactive Community
Jump to navigation Jump to search
m
Line 1: Line 1:
[[Category:Scripting Commands|LOCALIZE]]
+
{{Command|= Comments
[[Category:Scripting Commands OFP 1.96|LOCALIZE]]
+
____________________________________________________________________________________________
[[Category:Scripting Commands OFP 1.46|LOCALIZE]]
 
[[Category:Scripting Commands ArmA|LOCALIZE]]
 
  
 +
| ofp |= Game name
  
<h2 style="color:#000066"> '''localize ''stringName'''''</h2>
+
|1.00|= Game version
 +
____________________________________________________________________________________________
  
 +
| Replace string with given stringName with corresponding localized text from [[stringtable.csv]]. |= Description
 +
____________________________________________________________________________________________
  
'''Operand types:'''
+
| '''localize''' |= Syntax
  
'''stringName:''' [[String]]
+
|p1= stringName: [[String]] |= Parameter 1
  
'''Type of returned value:'''
+
| [[String]] |= Return value
 +
____________________________________________________________________________________________
 +
 
 +
|x1= <pre>localize "STR_DN_FROG"</pre> |= Example 1
 +
____________________________________________________________________________________________
  
[[String]]
+
|  |= See also
  
'''Description:'''
+
}}
  
Replace string with given '''stringName''' with corresponding localized text from [[Stringtable.csv|stringtable.csv]].
+
<h3 style="display:none">Notes</h3>
 +
<dl class="command_description">
 +
<!-- Note Section BEGIN -->
  
 +
<!-- Note Section END -->
 +
</dl>
  
'''Example:'''
+
<h3 style="display:none">Bottom Section</h3>
 
+
[[Category:Scripting Commands|LOCALIZE]]
'''localize''' "STR_DN_FROG"
+
[[Category:Scripting Commands OFP 1.96|LOCALIZE]]
 +
[[Category:Scripting Commands OFP 1.46|LOCALIZE]]
 +
[[Category:Scripting Commands ArmA|LOCALIZE]]

Revision as of 00:59, 2 August 2006

Introduced with Operation Flashpoint version1.00
  

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:
localize
Parameters:
stringName: String
Return Value:
String

Examples

Example 1:
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