We have found that l2 Localization does not switch UIAtlases in sprites when we switch languages. All sprites and fonts who share the same Atlas texture in our GUI have Localize Script to change atlas when we change language.
We’ve defined Atlases, Sprites and Fonts in localization files as Text.
We use NGUI
l2Language prefab is in Resource folder
Reference atlases and Reference fonts are in the root Resource folder too and l2Language can see all of them correctly.
There are no Assets in Assets tab of Language Source script in l2Language prefab.
All fonts have Localize Script with defined First and Second Terms
All sprites (who share the same atlas with fonts) also has Localize Script with defined First and Second Terms (First is a name of sprite in atlas as Text, Second – is a name of Atlas as Text).
Fonts are switching correctly (both text (First Term) and UIFont (Second Term)) when we switch languages.
But the same time sprites are disappearing because their UIAtlases don’t change (By default I’ve placed everywhere GUI_EN atlas and when I switch to another language all sprites still have GUI_EN atlases instead of GUI_RU, GUI_FR and so on.
Thank you in advance! This issue is really headache for us!
The administrator has disabled public write access.
Switching GUI Atlases in UISprites
4 years 9 months ago #150