You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/11/14 09:01:00 UTC

[GitHub] [superset] artemonsh commented on issue #14848: Translations files don't translate everything

artemonsh commented on issue #14848:
URL: https://github.com/apache/superset/issues/14848#issuecomment-1313322076

   Guys, I am really happy to tell you that I've figured out how to apply all translations that we need. Enter virtual environment and run `pybabel compile -d superset/translations`. It will point out all the errors you have, for example:
   ```
   error: superset/translations/ru/LC_MESSAGES/messages.po:189: placeholders are incompatible
   error: superset/translations/ru/LC_MESSAGES/messages.po:6433: unknown named placeholder 'tableName'
   error: superset/translations/ru/LC_MESSAGES/messages.po:6683: placeholders are incompatible
   error: superset/translations/ru/LC_MESSAGES/messages.po:13100: placeholders are incompatible
   error: superset/translations/ru/LC_MESSAGES/messages.po:13975: positional format placeholders are unbalanced
   ```
   Then simply edit all of the messages to avoid errors and run the compile `command` again!


-- 
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: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org