Difference between revisions of "localize"

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. ArmA2 classification)
m (Removed p1 since return value)
Line 16: Line 16:
 
| [[String]] <nowiki>=</nowiki> '''localize''' stringName |= Syntax
 
| [[String]] <nowiki>=</nowiki> '''localize''' stringName |= Syntax
  
p1| stringName: [[String]] found in corresponding entry in stringtable.csv |= Parameter 1
+
| stringName: [[String]] found in corresponding entry in stringtable.csv |=
  
 
____________________________________________________________________________________________
 
____________________________________________________________________________________________

Revision as of 04:45, 7 October 2009

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:
Used to internationalise text messages. A string is returned from Stringtable.csv which corresponds to the STR_Token.

Syntax

Syntax:
String = localize stringName
Return Value:
stringName: String found in corresponding entry in stringtable.csv

Examples

Example 1:
_ThisLanguage = localize "STR_DN_FROG"

Additional Information

See also:
Stringtable.csv File Format

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