Comments (2)
To address the issue where 'Export to PDF' and 'Download as Image' options are not translated into French in Superset version 3.1.3, you should first verify if the translation strings for these actions exist in the French localization file (superset/translations/fr/LC_MESSAGES/messages.po
). If they're missing, you can add them as follows:
msgid "Export to PDF"
msgstr "Exporter en PDF"
msgid "Download as Image"
msgstr "Télécharger comme image"
After adding these strings, compile the translation files with:
flask fab babel-compile --target superset/translations
Then, restart Superset to apply the changes. This process ensures that Superset uses the updated translations, making the 'Export to PDF' and 'Download as Image' options appear in French.
For more detailed guidance on managing translations in Superset, including how dynamic content is translated, refer to the Superset repository and specifically the French localization file here. This file is crucial for the localization process, enabling Superset to display UI elements in French based on the user's locale settings.
Details
Sources
- superset/translations/fr/LC_MESSAGES/messages.po
- superset-frontend/packages/superset-ui-core/src/translation/types/index.ts
- superset/translations/requirements.txt
- superset-frontend/packages/superset-ui-core/src/translation/index.ts
- superset/translations/tr/LC_MESSAGES/messages.po
- superset/translations/messages.pot
- superset-frontend/src/setup/setupApp.ts
About Dosu
This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
To continue the conversation, mention @dosu.
from superset.
I'll leave this open for a bit, but we don't consider missing translations as bugs. If we did, we'd have a LOT of bugs. We encourage you to open PRs to add/fix as many translations as you'd like!
from superset.
Related Issues (20)
- UUID columns show up as NULL HOT 1
- 0.12.11 fails for helm install HOT 2
- sql query is different from chart results HOT 4
- Inconsistent spacing between viz gallery charts HOT 1
- [design:suggest] Lack of space in "Create Chart" GUI HOT 2
- Bug in query re-writing in Pinot with Virtual Datasets HOT 6
- Error: "Failed to execute 'removeChild' on 'Node'" after adding column to simple table chart HOT 1
- Superset Application being enbedded instead of a single dashboard HOT 6
- Time-series Line Chart Display unnecessary total HOT 7
- Version 4.0.1 - endless loading - manual refresh is needed to show dashboard HOT 8
- Calendar Heatmap day offset HOT 2
- On Mac OS X Safari - Using Download As Image option on a chart returns empty image HOT 2
- ARM (linux/arm64) dev images include x86 Firefox/geckodriver libraries HOT 3
- How I can add custom layout or install analytics tool in Superset? HOT 1
- It's impossible to attach more than one alert/report to a single chart/dashboard HOT 1
- superset error when testing HOT 1
- Helm Template: `extraConfigs` does not mount files to `/app/pythonpath` as mentioned HOT 1
- Getting 404 error when trying to upload csv
- Cropping the screen to the left edge HOT 1
- "Error 403 Forbidden" displayed on an embedded chart when using a particular aggregation function in the chart metric HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from superset.