I am facing difficulties trying to deploy multiple translation languages on Dataverse. Initially, I configured the .env file, passing an array containing the desired languages, however, the file is not importing the languages correctly. Later, after building Dataverse, I entered the container and used a flag to add a dropdown menu with language options. Although the menu is working, the translation is not being applied correctly.
MAINLANG=[en,pt,se,es]
curl http://localhost:8080/api/admin/settings/:Languages -X PUT -d '[{"locale":"en","title":"English"},{"locale":"pt","title":"Portuguese"},{"locale":"es","title":"Spanish"},{"locale":"se","title":"Swedish"}]'

Could someone help me? What step am I missing?