1# JS API Changes of the Globalization Subsystem 2 3The table below lists the APIs changes of the globalization subsystem in OpenHarmony 3.2 Beta2 over OpenHarmony 3.2 Beta1. 4 5## API Changes 6 7| Module| Class| Method/Attribute/Enumeration/Constant| Change Type| 8|---|---|---|---| 9| ohos.EnterpriseAdminExtensionAbility | EnterpriseAdminExtensionAbility | onAdminDisabled(): void; | Added| 10| ohos.EnterpriseAdminExtensionAbility | EnterpriseAdminExtensionAbility | onAdminEnabled(): void; | Added| 11| ohos.enterpriseDeviceManager | enterpriseDeviceManager | isAdminEnabled(admin: Want, callback: AsyncCallback\<boolean>): void;<br>isAdminEnabled(admin: Want, userId: number, callback: AsyncCallback\<boolean>): void;<br>isAdminEnabled(admin: Want, userId?: number): Promise\<boolean>; | Added| 12| ohos.enterpriseDeviceManager | enterpriseDeviceManager | disableSuperAdmin(bundleName: String, callback: AsyncCallback\<boolean>): void;<br>disableSuperAdmin(bundleName: String): Promise\<boolean>; | Added| 13| ohos.enterpriseDeviceManager | enterpriseDeviceManager | disableAdmin(admin: Want, callback: AsyncCallback\<boolean>): void;<br>disableAdmin(admin: Want, userId: number, callback: AsyncCallback\<boolean>): void;<br>disableAdmin(admin: Want, userId?: number): Promise\<boolean>; | Added| 14| ohos.enterpriseDeviceManager | enterpriseDeviceManager | enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, callback: AsyncCallback\<boolean>): void;<br>enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId: number, callback: AsyncCallback\<boolean>): void;<br>enableAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, userId?: number): Promise\<boolean>; | Added| 15| ohos.i18n | i18n | getUsingLocalDigit(): boolean; | Added| 16| ohos.i18n | i18n | setUsingLocalDigit(flag: boolean): boolean; | Added| 17| ohos.i18n | Transliterator | transform(text: string): string; | Added| 18| ohos.i18n | Transliterator | static getInstance(id: string): Transliterator; | Added| 19| ohos.i18n | Transliterator | static getAvailableIDs(): string[]; | Added| 20| ohos.i18n | TimeZone | static getTimezoneFromCity(cityID: string): TimeZone; | Added| 21| ohos.i18n | TimeZone | static getCityDisplayName(cityID: string, locale: string): string; | Added| 22| ohos.i18n | TimeZone | static getAvailableZoneCityIDs(): Array\<string>; | Added| 23| ohos.i18n | TimeZone | static getAvailableIDs(): Array\<string>; | Added| 24| ohos.i18n | PhoneNumberFormat | getLocationName(number: string, locale: string): string; | Added| 25| ohos.i18n | Util | getDateOrder(locale: string): string; | Added| 26| resource | Resource | id: number; | Added| 27| resource | Resource | moduleName: string; | Added| 28| resource | Resource | bundleName: string; | Added| 29| ohos.enterpriseDeviceManager | enterpriseDeviceManager | isAdminAppActive(admin: Want, callback: AsyncCallback\<boolean>): void;<br>isAdminAppActive(admin: Want): Promise\<boolean>; | Deleted| 30| ohos.enterpriseDeviceManager | enterpriseDeviceManager | deactivateSuperAdmin(bundleName: String, callback: AsyncCallback\<boolean>): void;<br>deactivateSuperAdmin(bundleName: String): Promise\<boolean>; | Deleted| 31| ohos.enterpriseDeviceManager | enterpriseDeviceManager | deactivateAdmin(admin: Want, callback: AsyncCallback\<boolean>): void;<br>deactivateAdmin(admin: Want): Promise\<boolean>; | Deleted| 32| ohos.enterpriseDeviceManager | enterpriseDeviceManager | activateAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType, callback: AsyncCallback\<boolean>): void;<br>activateAdmin(admin: Want, enterpriseInfo: EnterpriseInfo, type: AdminType): Promise\<boolean>; | Deleted| 33