diff --git a/api/@ohos.i18n.d.ts b/api/@ohos.i18n.d.ts index cbb30227566527f1e735cc0c533bcdc01eed78a4..7591d0b84346ab617a529316be4b9bef70a3d0c5 100644 --- a/api/@ohos.i18n.d.ts +++ b/api/@ohos.i18n.d.ts @@ -673,6 +673,15 @@ export function getPreferredLanguageList(): Array; */ export function getFirstPreferredLanguage(): string; +/** + * Get the preferred language of App. + * + * @syscap SystemCapability.Global.I18n + * @return Returns a string represent the preferred language of App. + * @since 9 + */ + export function getAppPreferredLanguage(): string; + /** * Get the default TimeZone object or the TimeZone object corresponds to zoneID. *