Closed toop closed 4 years ago
Issue-Label Bot is automatically applying the label #bug
to this issue, with a confidence of 0.96. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
🏷localization
@rusackas do you have insight on how i18n builds work here?
l writed i18n.js like the examples,it·s worked。
Expected results
When you click the language button, the text on the Explore page switches to the current language。 example: “Predictive Analytics” -->" 预测分析" "ENABLE FORECAST" --> "启用预测" "FORECAST PERIODS" --> "预测期间"
Actual results
There was no change。
Screenshots
How to reproduce the bug
Login superset Go to Explore page Click the switch language button See error
Environment
superset version: master python version: 3.7.7 node.js version: 12.16.2 npm version: 6.14.4
Additional context
The Explore page·s word in file superset-frontend\node_modules\@superset-ui...
label: (0, _translation.t)('Left Axis chart(s)'),
label: (0, _translation.t)('X Axis'),
label: (0, _translation.t)('Y Axis 2'),
label: (0, _translation.t)('Right Axis chart(s)'),
......
but fab babel-extract not generated to file messages.po,How to build the i18n.ts or i18n.js ? help pls!Thanks!