jpchev commented on issue #35959:
URL: https://github.com/apache/superset/issues/35959#issuecomment-3480924540

   > To fix the French translation issue in Superset 5.0.0:
   > 
   > 1. Check Translation Files: Ensure the paths for messages.po (backend) and 
messages.json (frontend) are correct.
   > 2. Verify the BUILD_TRANSLATIONS Argument: Ensure it's being passed 
correctly during the build process.
   > 3. Manually Build Translations: Try manually building translation files 
with pybabel for the backend and verify frontend assets.
   > 4. Confirm Language in superset_config.py: Ensure French is selected as 
the default language.
   > 5. Check Logs: Review container logs for errors related to translations.
   > 6. Optional: If urgent, consider reverting to Superset 4.1.2 until the 
issue is fixed in 5.0.0.
   > 
   > For more flexibility and support, visit AccuWeb Cloud , they provide good 
support and excellent services .
   
   thank you for your reply, so do I need to manually copy the translation 
files? @dosu says I don't need to.
   
   I build with
   `docker build --build-arg BUILD_TRANSLATIONS=true -t 
my-superset:5.0.0-custom .`
   and I have this my superset_config.py file
   
   ```
   BABEL_DEFAULT_LOCALE = "fr"
   
   LANGUAGES = {
       "en": {"flag": "us", "name": "English"},
       "fr": {"flag": "fr", "name": "Français"},
   }
   
   ```
   but translations don't work


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to