Lksen1a opened a new pull request, #30015:
URL: https://github.com/apache/superset/pull/30015

   ### SUMMARY
   In Flask App Builder, menu translation is already integrated using the label 
field. However, in Apache Superset, during the initial setup, the label field 
was translated according to the default language. Upon switching to a different 
language, the system attempted to translate the already translated value. Since 
the translated key (in this case, Russian) did not exist in the dictionary, 
this caused an issue. Therefore, I removed the translation from the application 
initialization process.
   
   ### BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
   ![Screencastfrom26 08 2024211640-ezgif com-video-to-gif-converter 
(1)](https://github.com/user-attachments/assets/7c0614dc-2cbf-4eb3-a0c0-2c909c68d3af)
   ![Screencastfrom26 08 2024211805-ezgif com-video-to-gif-converter 
(1)](https://github.com/user-attachments/assets/ce76b0d8-42aa-486f-8bef-f3f7a80eaaeb)
   
   
   ### TESTING INSTRUCTIONS
   
   1. Set BABEL_DEFAULT_LOCALE = "ru".
   2. Start the application.
   3. Switch the interface language to English.
   4. Verify the translations.
   
   ### ADDITIONAL INFORMATION
   <!--- Check any relevant boxes with "x" -->
   <!--- HINT: Include "Fixes #nnn" if you are fixing an existing issue -->
   - [x] Has associated issue: Fixes #29882
   - [ ] Required feature flags:
   - [ ] Changes UI
   - [ ] Includes DB Migration (follow approval process in 
[SIP-59](https://github.com/apache/superset/issues/13351))
     - [ ] Migration is atomic, supports rollback & is backwards-compatible
     - [ ] Confirm DB migration upgrade and downgrade tested
     - [ ] Runtime estimates and downtime expectations provided
   - [ ] Introduces new feature or API
   - [ ] Removes existing feature or API
   


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