-
Notifications
You must be signed in to change notification settings - Fork 14.6k
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
Superset seems to be ignoring few frontend translations #7792
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Replicating the exact same code as described here, fixes the issue partially. |
Could it be that some of the translations have not been "compiled"? |
@mistercrunch No, they are just absent, even for existing languages, the add-slice-container itself has no translations being piped to the view, so it's an easy task(As described above), however, most parts of the code do not have translations mechanisms whatsoever.
We do need to 'compile' new translations for all currently supported languages, since humanize is an abandonware.
My use case is very specific(One single language support) so all measures above work, but unfortunatelly i can't open a PR with those changes since they do not match the code quality required on Superset and can lead to trouble in the future. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue |
Superset internationalization does not seem to be working on few components at the frontend.
The 'Add new slice' menu @ superset/assets/src/addSlice/AddSliceContainer.jsx is one example, even if the @superset-ui module has been called.
import { t } from '@superset-ui/translation';
t('Choose a datasource')
Expected results
All UI elements should be translated.
Actual results
Few frontend elements seem to ignore the translation, i couldn't reproduce the issue on backend rendered components like tables.
How to reproduce the bug
Download the current main branch, or 0.32.0rc2, haven't tested on other releases.
Environment
(please complete the following information):
Checklist
The text was updated successfully, but these errors were encountered: