Upgrade localization service data format
This article describes how to upgrade an existing localization service data format to a newer format with better performance. Because a localization library only supports loading Blocks whose data format is consistent with its own, when switching versions you need to make sure the Block data format is upgraded at the same time to ensure normal operation of localization features.
Switch to new version data format
Switching to the new version data format can improve localization performance and features. Before switching, check whether the existing Block data format is consistent with the target localization library format, and perform data format upgrade mapping as needed.
Pre-check
Determine whether the Block data format to be loaded is consistent with the target data format that the localization library is about to switch to.
- Consistent: You can directly switch the localization service data format.
- Inconsistent: You need to complete data format upgrade mapping first.
Data format upgrade mapping
The Block to be loaded needs to be upgraded through lossless update mapping to the data format consistent with the localization library. After lossless upgrade mapping succeeds, you can switch the localization service data format.
If you use original data to upgrade the data format, refer to: upgrade mapping using original data.
If mapping data needs to be updated at the same time, refer to: lossless full update mapping.
Note: During lossless upgrade mapping, the selected data format needs to be consistent with the localization library.
Switch localization library data format
To switch the localization service data format, refer to:
Switch to old version data format
In general, the new version data format performs better than the old version. If there are no special requirements, operate with caution.
Note
- After switching to an old version data format cloud localization library, if the scene changes and supplemental update or lossless full update mapping is needed, generating old version data format Blocks is not supported.
- New version data format Blocks cannot be added to an old version data format localization library.
Pre-check
Determine whether the Block data format to be loaded is consistent with the target data format that the localization library is about to switch to.
- Consistent: You can directly switch the localization service data format.
- Inconsistent: Operation prohibited. Switching will cause the Block to fail to load.
Switch localization library data format
To switch the localization service data format, refer to: