Automated: create new component page |
add info |
||
Line 3: | Line 3: | ||
|Name=Current Locale Info | |Name=Current Locale Info | ||
}} | }} | ||
The '''CurrenrLocaleInfo''' component gives localized values of the user's current locale. | |||
== | == Fields == | ||
{{Table ComponentFields | {{Table ComponentFields | ||
|LocaleCode|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv0=true| | |LocaleCode|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv0=true| The code of the culture of the current locale. | ||
|LanguageCode|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv1=true| | |LanguageCode|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv1=true| The code of the language of the current locale. | ||
|NativeLocaleName|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv2=true| | |NativeLocaleName|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv2=true| The name of the current locale in native language (Ex: "Español") | ||
|EnglishLocaleName|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv3=true| | |EnglishLocaleName|{{RootFieldType|RawOutput`1|[[Type:String|String]]}}|TypeAdv3=true| The name of the current locale in english (Ex: "Spanish") | ||
}} | }} | ||
== | == Usage == | ||
{{stub}} | |||
== Examples == | == Examples == | ||
Line 21: | Line 22: | ||
[[Category:Components:Localization{{#translation:}}|Current Locale Info]] | [[Category:Components:Localization{{#translation:}}|Current Locale Info]] | ||
[[Category:Components{{#translation:}}|Current Locale Info]] | [[Category:Components{{#translation:}}|Current Locale Info]] | ||
Revision as of 19:14, 11 January 2025
Component image 
Current Locale Info component as seen in the Scene Inspector

The CurrenrLocaleInfo component gives localized values of the user's current locale.
Fields
Name | Type | Description |
---|---|---|
persistent
|
Bool | Determines whether or not this item will be saved to the server. |
UpdateOrder
|
Int | Controls the order in which this component is updated. |
Enabled
|
Bool | Controls whether or not this component is enabled. Some components stop their functionality when this field is disabled, but some don't. |
LocaleCode
|
raw output of String | The code of the culture of the current locale. |
LanguageCode
|
raw output of String | The code of the language of the current locale. |
NativeLocaleName
|
raw output of String | The name of the current locale in native language (Ex: "Español") |
EnglishLocaleName
|
raw output of String | The name of the current locale in english (Ex: "Spanish") |
Usage
This article or section is a Stub. You can help the Resonite Wiki by expanding it.