You’re likely not passing the right locale code. The currently supported values include ar (Arabic), en (English), de (German), es-ES (Spanish (Spain)), es-MX (Spanish (Latin America)), fr (French), it (Italian), ja (Japanese), ko (Korean), pl (Polish), pt-BR (Portuguese)…
https://dev.epicgames.com/community/learning/knowledge-base/ZdEkB/epic-online-services-why-isn-t-my-game-s-language-changing-after-calling-eos_platform_setoverridelocalecode