Localization files don't exist in Package

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?

I answered my own question! I had to add the following to my DefaultGame.ini

[/Script/UnrealEd.ProjectPackagingSettings]
InternationalizationPreset=EFIGS

I’m pretty sure you’ve figured it out but I’ll post just have it on the answers platform for others.

If you need more than EFIGS (stands for English, French, Italian, German, Spanish), you can add things manually by selecting InternationalizatoinPreset=All and adding required cultures:

InternationalizationPreset=All
+CulturesToStage=ko-KR
+CulturesToStage=pl-PL
+CulturesToStage=pt-BR
+CulturesToStage=ru-RU
+CulturesToStage=zh-Hans-CN
+CulturesToStage=zh-Hant
+CulturesToStage=ar-001
...