localize: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
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 01:59, 2 August 2006

Hover & click on the images for description

Description

Description:
Replace string with given stringName with corresponding localized text from stringtable.csv.
Groups:
Uncategorised

Syntax

Syntax:
localize
Parameters:
stringName: String
Return Value:
String

Examples

Example 1:
localize "STR_DN_FROG"

Additional Information

See also:
See also needed

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section