apache / superset

Apache Superset is a Data Visualization and Data Exploration Platform
https://superset.apache.org/
Apache License 2.0
61.81k stars 13.53k forks source link

Translation problem with zh #23127

Closed zRich closed 7 months ago

zRich commented 1 year ago

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

docker image with latest version

Checklist

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

Additional context

Add any other context about the problem here.

rusackas commented 7 months ago

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

rusackas commented 7 months ago

Thanks for the contribution :D