Hello my friends.
Now I want to add localization for my game, I have been reading through this
https://docs.unrealengine.com/udk/Three/LocalizedTextFiles.html
But the explanations are very poor, there is no a step by step tutorial.
I understood the folders structure and localized text files, however I am not being able to get the most basic which is to translate the main game menu.
Since I am using the default UDK UI, so all the text strings it loads from the DefaultUI.ini. From what I understood is that the localized text must be inside the localized text files which are located at \UDKGame\Localization\INT.
For example, my game’s main menu items are loaded from these strings, from the DefaultUI.ini
[UTGame.GFxUDKFrontEnd_MainMenu]
+ViewTitle=“MAIN MENU”
+ListOptions=(OptionName=“InstantAction”,OptionLabel=“PLAY GAME”,OptionDesc=“Play the Single Player Missions, Split-Screen Multiplayer and other Game Modes.”)
+ListOptions=(OptionName=“PerformanceMode”,OptionLabel=“PERFORMANCE MODE”,OptionDesc=“Run the game with all Lighting and Shading Effects turned off.”)
+ListOptions=(OptionName=“MasterVolume”,OptionLabel=“MASTER VOLUME”,OptionDesc=“Adjust the master volume.”)
+ListOptions=(OptionName=“GameOptionsAudio”,OptionLabel=“MUSIC VOLUME”,OptionDesc=“Adjust the music volume.”)
+ListOptions=(OptionName=“Exit”,OptionLabel=“EXIT”,OptionDesc=“Exit Game.”)
However, you can not translate ini files, because this I tried to cut all these strings from the defaultUI.ini and paste inside the utgame.int. It did not work, instead now my game’s main menu is empty. So that means the game will not read these strings from the INT file, only from the DefaultUI.ini
So how can I translate these menu option labels? I already made a custom game launcher which changes values on the ini files, so I can easily change in example, the engine language like this
Language=PTB
So in theory, it would load now the localized text files from \UDKGame\Localization\PTB, but how could I change the label, in example from PLAY GAME to JOGAR O JOGO (portuguese language), since the game does not load the strings from the localized text files, it loads only from the DefaultUI.ini
Please any help is very welcome.