I’m implementing a settings menu for a game. I would like to list available localizations in a dropdown menu. I would like to not enter available localizations directly but to gather it programmatically somehow. So far I found this method
void FInternationalization::GetCulturesWithAvailableLocalization(const TArray<FString>& InLocalizationPaths, TArray< FCultureRef >& OutAvailableCultures, const bool bIncludeDerivedCultures);
But this method requires to hardcode the search paths and I’m not sure if it’s going to work in a packaged game. Is there a better way to acquire a list of available localizations or should I use this method?