I am using the localization package for the first time and encountering a problem where I have no clue how to fix it.
I have defined some localization strings and made my tmpro components localizable. So far so good. But when loading a language, the horizontal/vertical layout groups do not get updated which results in overlapping texts. This only happens if the text is longer in another language. Similarly, the spacing between the text components does not shrink if the words are shorter.
There is a ContentSizeFitter component you can add.
Hereās some more possibly-useful reading as you go into this. Disregarding the notes below may result in you having to completely redo your UI, so itās worth a look.
Here are the official docs on how to make your UI handle various resolutions and aspect ratios cleanly:
Here are some notes on UI Anchoring, Scaling, CanvasScaler, etc:
Usually you need to choose a suitable ScaleMode and MatchMode in the Canvas Scaler and stick with it 100%. Generally if you change those settings you will often need to redo your UI entirely.
Didnāt know about it, but that was I am reading suggests me, that I have to deal with absolute positions in some way and cant just update the ui layout after localization, or did I get that part wrong?
In the second image on the bottom is the content fitter. In general this component works for me. For example when typing text manually into the text field. However when using localization the layout doesnāt get updated
Itās the software equivalent of āDid you try turning it off and back on?ā
It will always be a way to fix certain bugs. I donāt think weāll ever reach the point when people donāt forget to add weird edge case event-driven update connections.