GetLocale
From LoTROInterface Wiki
(Difference between revisions)
Current revision (10:52, 24 September 2010) (view source) |
|||
(One intermediate revision not shown.) | |||
Line 1: | Line 1: | ||
- | {{API_Breadcrumb|[[:Category:API_Reference|API Reference]] > [[Turbine_(Package)|Turbine]].[[Engine]].''' | + | {{API_Breadcrumb|[[:Category:API_Reference|API Reference]] > [[Turbine_(Package)|Turbine]].[[Engine]].'''GetLocale()'''}} |
+ | __NOTOC__ | ||
- | Gets a string | + | Gets a string identify the locale the application is set to. |
==Syntax== | ==Syntax== | ||
- | {{API_Example|Lua|function Engine.GetLocale();}} | + | {{API_Example|Lua|{{API_Keyword|function}}{{API_Whitespace| }}Engine{{API_Operator|.}}GetLocale{{API_Operator|(}}{{API_Operator|)}}{{API_Operator|;}}{{API_Whitespace|<br>}}}} |
- | ===Returns=== | + | ====Returns==== |
- | + | {{API_Type|string|The locale identifier.}} | |
- | + | ||
- | The locale identifier | + | |
==Remarks== | ==Remarks== | ||
- | Gets a string | + | Gets a string identify the locale the application is set to. |
+ | |||
[[Category:API_Methods]] | [[Category:API_Methods]] |
Current revision
API Reference > Turbine.Engine.GetLocale()
Gets a string identify the locale the application is set to.
Syntax
Lua | |
---|---|
function Engine.GetLocale(); |
Returns
Type: string
The locale identifier.
Remarks
Gets a string identify the locale the application is set to.