harmony 鸿蒙Overview

  • 2025-06-12
  • 浏览 (5)

Overview

Localization means to display regional elements such as language, region, script, time zone, calendar, and date according to local linguistic habits.

This module provides the following three methods for localization: 1. Name localization: Localize the names of languages, regions, scripts, currencies, calendars, and time fields (such as year, month, and day) by using Intl.Displaynames. 2. Language and region name localization: Localize the names of languages and regions by using i18n.System.getDisplayLanguage and i18n.System.getDisplayCountry. 3. Time zone name localization: Localize the names of time zones by using i18n.TimeZone.

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Localization Kit

harmony 鸿蒙Calendar Setting

harmony 鸿蒙Character Processing

harmony 鸿蒙DST Transition

harmony 鸿蒙Overview of Internationalization and Localization

harmony 鸿蒙Language and Locale Name Localization

harmony 鸿蒙Locale ID and Cultural Habit Division

harmony 鸿蒙Number and Unit of Measurement Formatting

harmony 鸿蒙Phone Number Formatting

harmony 鸿蒙Preferred Language Setting

0  赞