본문으로 건너뛰기

i18n

Description

Scheduler 현지화용 메서드 모음

i18n: any

Details

i18n 객체는 다음 메서드를 포함합니다:

  • addLocale(languageCode, localeObject) - Scheduler에 커스텀 로케일을 추가할 수 있습니다.
    • languageCode - (string) 두 글자 언어 코드
    • localeObject - (object) 로케일 데이터 객체
  • setLocale(localeObject: string|object) - 활성 로케일을 설정합니다.

언어 코드를 전달할 수도 있고:

scheduler.i18n.setLocale("fr");

로케일 객체를 전달할 수도 있습니다:

scheduler.i18n.setLocale({
labels: {
day_tab: "Day",
}
});
  • getLocale(languageCode : string) - 언어 코드로 로케일 객체를 가져옵니다.

Change log

  • v6.0에 추가됨
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.