Hi,
i recently tried to setup localization for our project and i’m stuck somehow and don’t know why.
- I used the localization dashboard to gather all my textfiles (worked like a charm)
- Then translated some of the languages with the google toolkit via a .po file (worked like a charm)
- Compiled the translations and within my projects content folder .locres files have been generated
- Created a custom blueprint in c++ which changes cultures
- Added all languages in by project settings → packaging
I then build the game, but when i try to change the culture, nothing happens. Even when i try to force a individual culture through the ‘DefaultEngine.ini’ (like this: [Internationalization] Culture=de) it does not change the language.
I have the feeling my locres files have not been packaged when building, but i have no idea why.
Please help me, i really don’t know what to do anymore…
Here are a couple of screenshots of all my settings etc.:
Localization Dashboard Settings:
Localization Folder Structure and .locres files:
Project Settings for packaging localization (i checked ‘de’, ‘en’ and ‘ru’):
Changing cultue in blueprints (doesn’t matter if i use my own code or the -culture=xx command):
Set Culture C++ Code:
One last thing i noticed, which has nothing to do with my problem, but is quite strange anyway, is:
Changing my Region & Language settings in the Editor Preferences to a different language for ‘Game Localization Language’ e.g. German, is being reset every time i restart the editor, to English.
Guess this is a bug.
I hope you can help me out!
Cheers,
Priareos