Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Translation problem with zh #23127

Closed
3 tasks done
zRich opened this issue Feb 20, 2023 · 2 comments
Closed
3 tasks done

Translation problem with zh #23127

zRich opened this issue Feb 20, 2023 · 2 comments
Labels
#bug Bug report

Comments

@zRich
Copy link
Contributor

zRich commented Feb 20, 2023

A clear and concise description of what the bug is.

translation encountered errors when translating .

error: translations/zh/LC_MESSAGES/messages.po:8895: positional format placeholders are unbalanced
error: translations/zh/LC_MESSAGES/messages.po:11413: positional format placeholders are unbalanced
error: translations/zh/LC_MESSAGES/messages.po:12046: placeholders are incompatible
error: translations/zh/LC_MESSAGES/messages.po:12141: placeholders are incompatible
error: translations/zh/LC_MESSAGES/messages.po:12161: placeholders are incompatible
error: translations/zh/LC_MESSAGES/messages.po:13408: placeholders are incompatible
error: translations/zh/LC_MESSAGES/messages.po:13581: unknown named placeholder 'column_name'
error: translations/zh/LC_MESSAGES/messages.po:13586: unknown named placeholder 'location'
error: translations/zh/LC_MESSAGES/messages.po:14167: placeholders are incompatible

How to reproduce the bug

pybabel compile -d translations

Expected results

all msgid and msgstr in messages.po translated into Chinese without problem.

Actual results

pybabel compile -d translations

Screenshots

image

Environment

(please complete the following information):

  • superset version: superset version

docker image with latest version

  • python version: python --version
    Python 3.8.16

Checklist

Make sure to follow these steps before submitting your issue - thank you!

  • I have checked the superset logs for python stacktraces and included it here as text if there are any.
  • I have reproduced the issue with at least the latest released version of superset.
  • I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context

Add any other context about the problem here.

@rusackas
Copy link
Member

Looks like this should have been closed by the linked PR. Closing it now.

@rusackas
Copy link
Member

Thanks for the contribution :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#bug Bug report
Projects
None yet
Development

No branches or pull requests

2 participants