Difference between revisions of "Lua:translate"

From Cheat Engine
Jump to navigation Jump to search
(Related Functions)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
[[Category:Lua]]
 
'''function''' translate(''String'') ''':''' string
 
'''function''' translate(''String'') ''':''' string
  
Line 21: Line 22:
  
 
=== Related Functions ===
 
=== Related Functions ===
* [[translateID]]
+
* [[Lua:translateID|translateID]]
* [[getTranslationFolder]]
+
* [[Lua:getTranslationFolder|getTranslationFolder]]
* [[loadPOFile]]
+
* [[Lua:loadPOFile|loadPOFile]]
* [[ansiToUtf8]]
+
* [[Lua:ansiToUtf8|ansiToUtf8]]
* [[utf8ToAnsi]]
+
* [[Lua:utf8ToAnsi|utf8ToAnsi]]
* [[readString]]
+
* [[Lua:readString|readString]]
* [[writeString]]
+
* [[Lua:writeString|writeString]]
* [[readStringLocal]]
+
* [[Lua:readStringLocal|readStringLocal]]
* [[writeStringLocal]]
+
* [[Lua:writeStringLocal|writeStringLocal]]
* [[stringToByteTable]]
+
* [[Lua:stringToByteTable|stringToByteTable]]
* [[wideStringToByteTable]]
+
* [[Lua:wideStringToByteTable|wideStringToByteTable]]
* [[byteTableToString]]
+
* [[Lua:byteTableToString|byteTableToString]]
* [[byteTableToWideString]]
+
* [[Lua:byteTableToWideString|byteTableToWideString]]

Latest revision as of 01:21, 25 January 2018

function translate(String) : string

Returns a translation of the string. Returns the same string if it can't be found.

Function Parameters[edit]

Parameter Type Description
String string The string to translate


See also[edit]

Related Functions[edit]