truong-bui / AsyncLoadingScreen

Async Loading Screen is a free and open-source plugin for Unreal Engine. Async Loading Screen allows you to easily configure a Loading Screen System in the project settings, and automatically add a Loading Screen whenever you open a new level, without Level Streaming.
https://www.unrealengine.com/marketplace/en-US/product/async-loading-screen
MIT License
787 stars 99 forks source link

Localization issue #22

Closed xongnox closed 3 years ago

xongnox commented 3 years ago

Hi,

First, thanks for this awesome plugin <3

However i have a small issue with localization of the Tips texts. I successfully gather text (from DefaultGame.ini), translate it, re-import it, compile it, etc, then when i change the language in-game it doesn't apply for the tips in the loading screen. (but everywhere else is OK )

The strange thing is, i did have it working last time i checked the plugin half a year ago or so. I downloaded current version from Github and set it manually in my project. Probably this is just my bad with localization targets and settings ? (but it still gather the text).

If anybody have an idea, thanks =)

xongnox commented 3 years ago

Well sorry this is now solved. In case someone has the same issue my solution was to edit the [/Script/AsyncLoadingScreen.LoadingScreenSettings] section in Game/Config/DefaultGame.ini , replacing every :

NSLOCTEXT("[/Script/AsyncLoadingScreen]",

by :

NSLOCTEXT("AsyncLoadingScreen",

Then regathering TEXT, editing translations, re-compiling it, and voilà ! From my understanding this may have to do with the game plugin vs Engine plugin thing and how modules are referenced, etc. But tbh i simply randomly tried it seeing reference in the other form in the ini file.