Localizing a ScriptableObject

Hello,

we recently switched to Unity’s native Localization Package and are now wondering whether it is possible to localize fields within scriptable objects?

6970229--821663--upload_2021-3-24_19-32-37.png

Since we cant add Components to Scriptable Objects the regular way is not possible.
Is there a built in solution for this and if not can we build one?

Is there a way to access the localization databases from code, so we might write a similar dropdown menu as is used by the localization components?

Regards
Alexander

Hi,
Yes this is possible.
The components are using it.
Take a look at the examples that come with the package. They can be accessed from the package manager window.
Look at LocalizedString usage

Thank you!

1 Like