i18n |
Type | property |
Dictionary | library.i18n |
Library | i18n library |
Syntax | set the i18n[propertyName] of object to "Translation_Tag"
get the i18n[propertyName] of object
|
Associations | com.livecode.library.i18n |
Summary | Use this property to get and set the internationalization of objects.
|
Parameters | Name | Type | Description |
---|
propertyName | | Name of the property to which you want to bind a translation tag. You have to take into account that this property must expect a text string as its value.
|
|
Example | set the i18n["text"] of field 1 to "hello_word"
on mouseUp
local tTagsArray, tTag
put the i18n of me into tTagsArray
put tTagsArray["text"] into tTag
answer "The i18n tag corresponding to my text property is:" && tTag
end mouseUp
on mouseUp
local tTag
put the i18n["text"] of me into tTag
answer "the i18n tag corresponding to my text property is:" && tTag
end mouseUp
|
Description | Use the i18n property to bind a translation tag to a property of an object. I18n is an array style property, each key in the array is the name of a property and its value will be the translation tag it is bound to.
|
Tags | internationalization,i18n,translation,languages,locale |