harmony 鸿蒙Overview
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 鸿蒙Character Processing
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
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦