Localization of a game

That most likely means that it doesn’t see any PO files or any translations in those files or in the JSON files so it is falling back to whatever your default language is, in this case en for English. Do some test translation by just filling out the translation files yourself with things like “This is translated” or something simple just to see that it is working.

Are you sure to have your localization path setup in DefaultGame.ini ? :

[Internationalization]

+LocalizationPaths=%GAMEDIR%Content/Localization/Game

…works fine, here.

dataenroute:

I followed your instructions but got stuck at the gathering point.

For Gathering:

C:\Program Files\Epic Games\4.7\Engine\Binaries\Win64\UE4Editor.exe C:\Users\Vasanth\Documents\Unreal Projects\ringMovements\ringMovements.uproject -Run=GatherText -config="C:\Users\Vasanth\Documents\Unreal Projects\ringMovements\Content\Localization\Game.ini -log > localization.log

I am getting the error like this “‘C:\Program’ is not recognized as an internal or external command, operable program or batch file.”

Can you help me to find where I am going wrong?

Thank you!

41567-error.png

Your path has spaces. You’ll need to put quotes around the path to the uproject.

Thank you Sarge. I have done it. But I am getting a new error while gathering.

I am also not sure where is the translation source file in the above example. ? please help me.

I’m not sure what you are referring to regarding the “translation source”. It looks like there are some ignore-able problems with the editor loc files you’re loading.

The real issue appears to be that your Localization Game.ini is either not at that location or empty.

Your loc gather config ini files should be in the following location: “ringMovements\Config\Localization\Game.ini”

The gather should output to “ringMovements\Content\Localization\Game”

I want to let you know as well that in 4.8 we’re releasing a now tool within the editor for managing this whole process called the Localization Dashboard.

Thank you Sarge. There was an error in the path while gathering. It has been fixed somehow:-)

4.8: That’s good to hear. As a beginner localization process is bit hard to understand initially. :slight_smile: :slight_smile:

One more question: How can I detect the mobile OS version to set the language correspondingly? can we do that in Unreal engine?

Unreal’s included localization system will take care of this for you automatically.

But if you need access to that information for other reasons then you want to use FInternatioalization::Get().GetCurrentCulture().

Does anybody know if this is working with UE4.9.2? I have copied everything, run command with log… and nothing… log is empty.link text

For anyone mislead here when looking for something about localization, the old document in '15 seemed deprecated, and in '18 we should refer to the new UI workflow “localization dashboard” A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums