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