dello32
9 months agoMember
Multi language GizmoText (localizableText)
Hello, here is the TextGizmo documentation.
1) I'm struggling with this localizableText object that must make automatic translation but nothing is working.
export declare class TextGizmo extends Entity {
1) I'm struggling with this localizableText object that must make automatic translation but nothing is working.
export declare class TextGizmo extends Entity {
/**
* Creates a human-readable representation of the entity.
* @returns A string representation of the `TextGizmo`.
*/
toString(): string;
/**
* The content to display in the text label.
*
* @remarks
* If the content was previously set with `localizableText`, the getter
* of this property will return the localized string in the language of the
* local player. Do not use the returned text in attributes shared with other
* players. Other players might use differnet languages, and only the
* `LocalizableText` object is localized.
*/
text: HorizonProperty<string>;
}
2) i made my own translation but, how get the region or language of the player?
Thanks π
2) i made my own translation but, how get the region or language of the player?
Thanks π
Hi, officially, localizable Text is not yet available for the MHCP. This API is still in development, hoping that it becomes available soon.