qleroy opened a new issue, #27959:
URL: https://github.com/apache/superset/issues/27959

   ### Bug description
   
   PR #26074 updated the json and .po files and introduced regressions in 
French translations.
   
   Solution is to revert to the previous .json and .po files, while keeping the 
other changes of PR #26074 regarding date range filter translations.
   
   ### How to reproduce the bug
   
   1. Configure French translations
   ```python
   BABEL_DEFAULT_LOCALE = "fr"
   
   LANGUAGES = {
       "fr": {"flag": "fr", "name": "French"},
   }
   ```
   2. Go to the home page and observe some weird translations !
   "Graphiques" => "Graphiques:"
   "Backend" => "Programme dorsal"
   "Jeux de données" => "Ensemble de données"
   "Connection looks good" => "La connexion a fière allure"
   
   ### Screenshots/recordings
   
   <img width="996" alt="Screenshot 2024-04-10 at 03 07 19" 
src="https://github.com/apache/superset/assets/9881262/cae8a008-0ef1-4ed1-ae2e-fbc42cd3cf84";>
   <img width="1470" alt="fr_400" 
src="https://github.com/apache/superset/assets/9881262/0ecd74ea-3f61-4e25-a356-046be79d77ef";>
   
   
   
   ### Superset version
   
   master / latest-dev
   
   ### Python version
   
   3.9
   
   ### Node version
   
   16
   
   ### Browser
   
   Chrome
   
   ### Additional context
   
   Need to run
   ```bash
   pybabel compile -d /app/superset/translations
   ```
   to compile the FAB translations.
   
   ### Checklist
   
   - [ ] I have searched Superset docs and Slack and didn't find a solution to 
my problem.
   - [X] I have searched the GitHub issue tracker and didn't find a similar bug 
report.
   - [ ] I have checked Superset's logs for errors and if I found a relevant 
Python stacktrace, I included it here as text in the "additional context" 
section.


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