rsaleev commented on issue #35569:
URL: https://github.com/apache/superset/issues/35569#issuecomment-3901956862

   @tt-a1i I've found out that even if `language_pack` loads json to client, 
menu label were not changed. Issue is inside .mo compilation logic.
   Custom command for CI/CD. Many languages have issues in compiling stage, but 
it's enough for menu. 
   Menu data is loaded to` <div id="app" data-boostrap={.....} .... </div>` and 
you can always check if it was translated or not
   ```
   if ! pybabel compile --use-fuzzy -l ru -d "$TRANSLATIONS_DIR" 2>&1 | sed 
's/^/   /'; then
       echo "⚠️  pybabel compilation encountered errors (see above), continuing 
anyway..."
   fi
   ```
   I use apache/superset:6.0.0 image from docker hub, but with multiple 
customizations for CI/CD


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