LocaleType
Cette page API est actuellement disponible en anglais. Les signatures et identifiants restent identiques dans toutes les langues.
Locale identifiers used by Univer initialization and snapshots. Import and merge the corresponding locale data when configuring the editor.
Each member holds a BCP 47 language tag. We recommend using these members in configuration, language pack keys and comparisons. See language and region settings.
Import
TypeScript
import { LocaleType } from '@univerjs/core'Definition
TypeScript
enum LocaleType { EN_US = 'en-US', FR_FR = 'fr-FR', ZH_CN = 'zh-CN', RU_RU = 'ru-RU', ZH_TW = 'zh-TW', ZH_HK = 'zh-HK', VI_VN = 'vi-VN', FA_IR = 'fa-IR', JA_JP = 'ja-JP', KO_KR = 'ko-KR', ES_ES = 'es-ES', CA_ES = 'ca-ES', SK_SK = 'sk-SK', PT_BR = 'pt-BR', DE_DE = 'de-DE', IT_IT = 'it-IT', ID_ID = 'id-ID', PL_PL = 'pl-PL', AR_SA = 'ar-SA',}Package: @univerjs/core · Type definitions
Que pensez-vous de ce guide ?