Difference between revisions of "Lua:translate"

From Cheat Engine
Jump to navigation Jump to search
(Created page with ''''function''' translate(''String'') Returns a translation of the string. Returns the same string if it can't be found. === Function Parameters === {|width="85%" cellpadding="…')
 
(Related Functions)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
'''function''' translate(''String'')
+
[[Category:Lua]]
 +
'''function''' translate(''String'') ''':''' string
  
 
Returns a translation of the string. Returns the same string if it can't be found.
 
Returns a translation of the string. Returns the same string if it can't be found.
Line 21: Line 22:
  
 
=== Related Functions ===
 
=== Related Functions ===
* [[translateID]]
+
* [[Lua:translateID|translateID]]
* [[ansiToUtf8]]
+
* [[Lua:getTranslationFolder|getTranslationFolder]]
* [[utf8ToAnsi]]
+
* [[Lua:loadPOFile|loadPOFile]]
* [[readString]]
+
* [[Lua:ansiToUtf8|ansiToUtf8]]
* [[writeString]]
+
* [[Lua:utf8ToAnsi|utf8ToAnsi]]
* [[readStringLocal]]
+
* [[Lua:readString|readString]]
* [[writeStringLocal]]
+
* [[Lua:writeString|writeString]]
* [[stringToByteTable]]
+
* [[Lua:readStringLocal|readStringLocal]]
* [[wideStringToByteTable]]
+
* [[Lua:writeStringLocal|writeStringLocal]]
* [[byteTableToString]]
+
* [[Lua:stringToByteTable|stringToByteTable]]
* [[byteTableToWideString]]
+
* [[Lua:wideStringToByteTable|wideStringToByteTable]]
 +
* [[Lua:byteTableToString|byteTableToString]]
 +
* [[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]