From 3feb99c6fbf536a28bf01897d7f89e6acd23bc80 Mon Sep 17 00:00:00 2001 From: shawn_he Date: Thu, 7 Jul 2022 14:23:31 +0800 Subject: [PATCH] update docs Signed-off-by: shawn_he --- en/application-dev/internationalization/i18n-guidelines.md | 5 +++-- en/application-dev/internationalization/intl-guidelines.md | 5 +++-- en/application-dev/reference/apis/js-apis-i18n.md | 4 ++-- en/application-dev/reference/apis/js-apis-intl.md | 5 ++--- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/en/application-dev/internationalization/i18n-guidelines.md b/en/application-dev/internationalization/i18n-guidelines.md index 2447347703..66b002200f 100644 --- a/en/application-dev/internationalization/i18n-guidelines.md +++ b/en/application-dev/internationalization/i18n-guidelines.md @@ -1,6 +1,7 @@ -# Internationalization Development (i18n) +# Internationalization Development (I18N) -This development guide describes how to use i18n APIs that are not defined in ECMA 402. +This module provides system-related or enhanced I18N capabilities, such as locale management, phone number formatting, and calendar, through supplementary I18N interfaces that are not defined in ECMA 402. +The [Intl](intl-guidelines.md) module provides basic I18N capabilities through the standard I18N interfaces defined in ECMA 402. It works with the I18N module to provide a complete suite of I18N capabilities. ## Obtaining System Language and Region Information diff --git a/en/application-dev/internationalization/intl-guidelines.md b/en/application-dev/internationalization/intl-guidelines.md index 9eceb50b87..378ea532cd 100644 --- a/en/application-dev/internationalization/intl-guidelines.md +++ b/en/application-dev/internationalization/intl-guidelines.md @@ -1,6 +1,7 @@ -# Internationalization Development (intl) +# Internationalization Development (Intl) -This development guide describes how to use i18n APIs that are defined in ECMA 402. +This module provides basic I18N capabilities, such as time and date formatting, number formatting, and string sorting, through the standard I18N interfaces defined in ECMA 402. +The [I18N](i18n-guidelines.md) module provides enhanced I18N capabilities through supplementary interfaces that are not defined in ECMA 402. It works with the Intl module to provide a complete suite of I18N capabilities. > **NOTE**
> In the code snippets in this document, **intl** refers to the name of the imported module. diff --git a/en/application-dev/reference/apis/js-apis-i18n.md b/en/application-dev/reference/apis/js-apis-i18n.md index dc9f7442da..5c45f18dc0 100644 --- a/en/application-dev/reference/apis/js-apis-i18n.md +++ b/en/application-dev/reference/apis/js-apis-i18n.md @@ -1,9 +1,9 @@ -# Internationalization – i18n +# Internationalization – I18N > **NOTE**
> - The initial APIs of this module are supported since API version 7. Newly added APIs will be marked with a superscript to indicate their earliest API version. > -> - This module contains enhanced i18n APIs, which are not defined in ECMA 402. +> - This module provides system-related or enhanced I18N capabilities, such as locale management, phone number formatting, and calendar, through supplementary I18N interfaces that are not defined in ECMA 402. For details about the basic I18N capabilities, see [Intl](js-apis-intl.md). ## Modules to Import diff --git a/en/application-dev/reference/apis/js-apis-intl.md b/en/application-dev/reference/apis/js-apis-intl.md index 2ae9a62bcd..d9be9b9a2c 100644 --- a/en/application-dev/reference/apis/js-apis-intl.md +++ b/en/application-dev/reference/apis/js-apis-intl.md @@ -1,10 +1,9 @@ -# Internationalization – intl +# Internationalization – Intl > ![icon-note.gif](public_sys-resources/icon-note.gif) **NOTE** > - The initial APIs of this module are supported since API version 6. Newly added APIs will be marked with a superscript to indicate their earliest API version. > -> - This module contains standard i18n APIs, which are defined in ECMA 402. - +> - This module provides basic I18N capabilities, such as time and date formatting, number formatting, and string sorting, through the standard I18N interfaces defined in ECMA 402. For details about the enhanced I18N capabilities, see [I18N](js-apis-i18n.md). ## Modules to Import -- GitLab