--- title: Localize the editor description: Connect built-in labels and custom actions to the workspace internationalization runtime. order: 21 toc: - id: add-the-catalog title: Add the catalog - id: fallback title: Fallback - id: custom-labels title: Custom labels --- ## Add the catalog {#add-the-catalog} ```json { "catalogSources": ["@workspace/lexical/locales/{locale}"] } ``` The package ships American English (`en-US`) and Simplified Chinese (`zh-Hans`) editor catalogs. ## Fallback {#fallback} Built-in controls follow the active `@workspace/i18n` provider. Outside a provider, they fall back to English so the editor remains usable in isolated previews and tests. ## Custom labels {#custom-labels} An external action label can be a plain string or a message descriptor containing `id` and `message`. Descriptors participate in the same extraction workflow as application copy.