@mocanvas/mocanvas · interface

TLUiTranslation

interface TLUiTranslation

One locale's dictionary: string id to display text.


Properties · 5

dir: "ltr" | "rtl"
label: string
locale: string
locales?: readonly string[]

The locales the host supplied a dictionary for, in the order it gave them. Empty when it supplied none — which is the default, because mocanvas ships no catalogues of its own.

messages: Readonly<Record<string, string>>

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.