Jump to: navigation, search

Difference between revisions of "LOCALIZATION"


(Created page with "{{MetaClassInfoBox | title = Localization | name = {{PAGENAME}} | internalname = SystemObjects.{{PAGENAME}} | namespace = System.Language | image = [[File:SY_{{PAGENAME}}.png|...")
 
 
Line 11: Line 11:
 
| runtimetype = UBIK.Content.ContentClass
 
| runtimetype = UBIK.Content.ContentClass
 
}}
 
}}
== Own Properties ==
+
 
 +
With the LOCALIZATION MetaClass, it is possible to specify custom descriptions and translations for immutable system objects like System MetaProperties.
 +
 
 +
To use it, create a new instance of the LOCALIZATION MetaClass and specify the instance you want to provide a custom description for, using the LOCALIZABLEOBJECT property. Next, please enter your description in the DESCR property of the LOCALIZATION instance. In versions 4.6+, it should be possible to use the multi-language descriptions correctly (the feature was overhauled in 4.6).
 +
 
 +
The VALUE property is used for system selective items, where the LOCALIZABLEOBJECT must be set to the selective list, and the item is identified by the VALUE property. It can be ignored for most cases.
 +
 
 +
== Properties ==
 
{| class="wikitable" width=50%
 
{| class="wikitable" width=50%
 
|-
 
|-
Line 21: Line 28:
 
|}
 
|}
  
[[Category:Metaclasses]]
+
[[Category:Metaclasses|LOCALIZATION]]

Latest revision as of 09:59, 5 January 2024

IC METACLASS.gif Localization
Name LOCALIZATION
Namespace System.Language
Internal Name SystemObjects.LOCALIZATION
TypeString UBIK.Kernel.MetaClass
RuntimeType UBIK.Content.ContentClass
Purpose Multilingual descriptions for objects
Version 2+


With the LOCALIZATION MetaClass, it is possible to specify custom descriptions and translations for immutable system objects like System MetaProperties.

To use it, create a new instance of the LOCALIZATION MetaClass and specify the instance you want to provide a custom description for, using the LOCALIZABLEOBJECT property. Next, please enter your description in the DESCR property of the LOCALIZATION instance. In versions 4.6+, it should be possible to use the multi-language descriptions correctly (the feature was overhauled in 4.6).

The VALUE property is used for system selective items, where the LOCALIZABLEOBJECT must be set to the selective list, and the item is identified by the VALUE property. It can be ignored for most cases.

Properties

Name Data type Comment
Value (VALUE) Text
Localizable SystemObject (LOCALIZABLEOBJECT) Guid Link to system object