SIGN IN SIGN UP

com.unity.localization@1.3.1

## [1.3.1] - 2022-04-14

### Added

- Added **Localize Property** context menu to properties in the Inspector. This can be used as an alternative to the **Track Changes** option to manually add the property as a **Localized Property Variant**. The menu item **Remove Localized Property** removes properties. The menu item **Remove Localized Property Variant** removes a specific selected Locale's override. (LOC-358)
- Added `RemoveTrackedProperty` to `TrackedObject`.
- Added support to handle a locale that has multiple fallbacks defined. ([LOC-607](https://issuetracker.unity3d.com/product/unity/issues/guid/LOC-607))

### Changed

- Localized string and asset variants that are empty (no table or entry set) will no longer produce errors and will be ignored.
- Replaced the `Locale Code` field in the Pseudo localization editor with a `Source Locale` field that only lets you select a locale in the project. (LOC-611)
- Updated to Addressables `1.19.19`.

### Deprecated

- Replaced `Locale.GetFallback` with `Locale.GetFallbacks` in order to support multiple fallbacks per locale. ([LOC-607](https://issuetracker.unity3d.com/product/unity/issues/guid/LOC-607))

### Fixed

- Fixed `LocalesProvider.AddLocale` ignoring the locale being added when a potential fallback was already in the provider.
- Fixed `LocalizedDatabase.GetTableAsync` creating a new operation each time when requesting a table that had not yet loaded. This would consume more memory than was necessary.
- Fixed `LocalizedString` and `LocalizedAsset` not showing prefab overrides in the Inspector. (LOC-592)
- Fixed `NullReferenceException` being thrown when applying property variants and the project locale was null. ([LOC-601](https://issuetracker.unity3d.com/issues/errors-are-thrown-in-play-mode-when-project-locale-identifier-is-not-set-in-localization-settings))
- Fixed bug where calling `RefreshString`, when the loading operation had not completed, would cause `RefreshString` to execute twice.
- Fixed build failures on Android Platform when System Language is used as Locale Source for Chinese (Simplified) & Chinese (Traditional). (LOC-681)
- Fixed console errors and warnings when making changes in the Inspector and the project was not configured for localization.
- Fixed duplicating of Addressable assets when importing a project with no library folder. (LOC-400)
- Fixed errors when trying to create a table in the Packages directory. ([LOC-614](https://issuetracker.unity3d.com/issues/localization-assets-cannot-be-created-inside-embedded-packages))
- Fixed fallback not working when the fallback had a missing table.
- Fixed operations being released immediately in edit mode, this could cause data to be lost too soon. ([LOC-667](https://issuetracker.unity3d.com/issues/getlocalizedstring-returns-null-when-the-editor-is-not-in-play-mode))
- Fixed operations sometimes being released too soon, which could cause them to be released before the yield on the operation had executed.
- Fixed Psuedo locale editor using the incorrect field for the locale name.
- Fixed Unity freezing when calling `WaitForCompletion` on a string operation that threw an exception during formatting. (LOC-630)
- Improved automatic releasing of operations so that we no longer use `CompletedTypeless`, which generates GC.
- Improved memory management to reduce the amount of garbage being generated by internal operations and adding/removing events. (LOC-571)
- Reduced allocations when applying Localized Property variants and the string/asset operation was still loading. (LOC-480)
U
Unity Technologies committed
acbadd568ebbabf57308f466d9b08887dfc45652
Parent: 680d088