ogui11aume commented on issue #26738:
URL: https://github.com/apache/superset/issues/26738#issuecomment-1941820951

   I confirm that French i18n does not work out of the box for the top menu 
(Dashboards | Charts | Datasets | SQL).
   
   I also confirm that following these steps solves the problem of the 
localization not been taken into account :
   1. `pybabel compile -d superset/translations`
   2. superset_config.py ( this step alone doesn't make the French translation 
work out of the box).
   ```
   BABEL_DEFAULT_LOCALE = "fr"
   
   LANGUAGES = {
       "fr": {"flag": "fr", "name": "French"},
   } 
   ```
   3. `docker build -t superset31fr .`
   4. `docker-compose -f docker-compose-non-dev.yml up`
   
   ![Screenshot showing French localization for top menu Tableaux de bord | 
Graphiques | Jeux de données | SQL 
](https://github.com/apache/superset/assets/31072389/455b6179-2741-4579-8d77-51d931e80b45)
   
   A step needs to be added to the Docker build to include `pybabel compile -d 
superset/translations` .


-- 
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