You can run Unreal's Localization pipeline as a UAT commandlet or directly from Visual Studio.
Once the steps above are completed, all the relevant files should be checked out in Perforce and updated. You can run "Revert Unchanged Files" from Perforce on that changelist to remove files that were checked out but ultimately did not need to be updated.
Open the .po files for each language in a text editor to confirm what data has been gathered. If Consequence lines are missing, make sure that you added the correct directory in the "Gather Text" menu inside "Gather from Packages", and that you checked the Skip Gather Cache option.
To run it from Visual Studio, use the following format, substituting the name of your project for [ProjectName]:
[ProjectName] -run=GatherText -fastexit -Config="Config/Localization/Game_Gather.ini;Config/Localization/Game_Import.ini;
Config/Localization/Game_Export.ini;Config/Localization/Game_Compile.ini"
See the further examples below for additional parameters that can be provided to run the command with Perforce source control integration.
cd "[Path To UnrealEngine]\Binaries\[Platform]"cd "C:\UnrealInstallLocation\Engine\Binaries\Win64"UnrealEditor "[path to your .uproject file]" -run=GatherText -Config="Config/Localization/Game_Gather.ini;Config/Localization/Game_Import.ini;Config/Localization/Game_Export.ini;Config/Localization/Game_Compile.ini" -EnableSCC -sccprovider=Perforce -p4port=[Perforce Port] -p4user=[Perforce User] -p4client=[Perforce Workspace]UnrealEditor "C:\UnrealInstallLocation\MyShooterGame\MyShooterGame.uproject" -run=GatherText -Config="Config/Localization/Game_Gather.ini;Config/Localization/Game_Import.ini;Config/Localization/Game_Export.ini;Config/Localization/Game_Compile.ini" -EnableSCC -sccprovider=Perforce -p4port=1666 -p4user=BobTheUser -p4client=BobsWorkspaceNameGatherText completed with exit code 0
LogInit: Display: Finished.
LogInit: Display:
Execution of commandlet took x seconds
If you check your Perforce, you will discover that your Perforce user has now submitted the new localized files.
C:\[YourUnrealLocation]\[ProjectName]\Saved\Logs\[ProjectName].log to find the output of the command.