I’m trying to make a packaged build with localization, from the command-line.
In my /Content/Localization/Game/ directory I have a .locres inside /fr/ and /en/ directories, and when I play the game in-editor, the following function returns en, fr, and fr-FR:
FInternationalization::Get().GetCulturesWithAvailableLocalization( FPaths::GetGameLocalizationPaths(), OutAvailableCultures, bIncludeDerivedCultures);
My package command looks like this:
..\..\UnrealEngine\Engine\Build\BatchFiles\RunUAT BuildCookRun -project="..\eco\ue4\eco.uproject" -noP4 -platform=Win64 -clientconfig=Development -serverconfig=Development -cook -CookDir="C:\Users\Ben\Documents\GitHub\eco\ue4\Content\Gameplay\Player" -allmaps -build -stage -pak -archive -archivedirectory="C:\Temp\eco-package" -log > Package.log
However when I run the build that was generated by the command, it only finds English.
What should I do to make sure that French is included in the packaged build?