Référence de l’API

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.

Import

TypeScript
import { LocaleType } from '@univerjs/core'

Definition

TypeScript
enum LocaleType {  EN_US = 'enUS',  FR_FR = 'frFR',  ZH_CN = 'zhCN',  RU_RU = 'ruRU',  ZH_TW = 'zhTW',  ZH_HK = 'zhHK',  VI_VN = 'viVN',  FA_IR = 'faIR',  JA_JP = 'jaJP',  KO_KR = 'koKR',  ES_ES = 'esES',  CA_ES = 'caES',  SK_SK = 'skSK',  PT_BR = 'ptBR',  DE_DE = 'deDE',  IT_IT = 'itIT',  ID_ID = 'idID',  PL_PL = 'plPL',  AR_SA = 'arSA',}

Package: @univerjs/core · Type definitions

Que pensez-vous de ce guide ?

© 2026 DreamNum Co., Ltd.