Comments (1)
To ensure that the translated Portuguese labels for dataset columns are displayed in filters when creating dashboards in Superset, you need to add the translations for the relevant labels in the messages.po
file. Here is an example of how you can add translations for dataset column labels:
#: superset-frontend/src/explore/components/controls/DndColumnSelectControl/ColumnSelectPopover.tsx:371
msgid "to add calculated columns"
msgstr "para adicionar colunas calculadas"
#: superset-frontend/src/explore/components/controls/MetricControl/AdhocMetricEditPopover/index.jsx:421
msgid "to add metrics"
msgstr "para adicionar métricas"
#: superset-frontend/src/explore/components/DatasourcePanel/index.tsx:318
msgid "to edit or add columns and metrics."
msgstr "para editar ou adicionar colunas e métricas."
#: superset-frontend/src/explore/components/controls/DndColumnSelectControl/ColumnSelectPopover.tsx:360
#: superset-frontend/src/explore/components/controls/DndColumnSelectControl/ColumnSelectPopover.tsx:395
msgid "to mark a column as a time column"
msgstr "para marcar uma coluna como uma coluna de tempo"
#: superset-frontend/src/features/datasets/AddDataset/DatasetPanel/MessageContent.tsx:47
msgid "to open SQL Lab. From there you can save the query as a dataset."
msgstr "para abrir o SQL Lab. A partir daí, você pode salvar a consulta como um conjunto de dados."
#: superset-frontend/src/explore/components/ExploreChartPanel/index.jsx:332
msgid "to visualize your data."
msgstr "para visualizar seus dados."
Additionally, ensure that the messages.po
file is correctly configured with the necessary metadata and encoding, as shown below:
msgid ""
msgstr ""
"Project-Id-Version: PROJECT VERSION\n"
"Report-Msgid-Bugs-To: EMAIL@ADDRESS\n"
"POT-Creation-Date: 2024-06-04 22:57+0400\n"
"PO-Revision-Date: 2023-05-22 08:04-0400\n"
"Last-Translator: \n"
"Language: pt_BR\n"
"Language-Team: \n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Babel 2.15.0\n"
By adding these translations and ensuring the messages.po
file is properly configured, the labels for dataset columns will be displayed in Portuguese in the filters when creating dashboards in Superset [1][2].
To continue talking to Dosu, mention @dosu.
from superset.
Related Issues (20)
- SPAM
- SPAM
- SPAM
- SPAM
- SPAM
- SPAM
- SPAM
- Default native filters values don't set correctly HOT 1
- Superset 4.0.1 - Exported CSV Contains Garbled Chinese Characters and Numbers HOT 12
- Metric datatype incorrect when swap dataset HOT 1
- It is proposed to add the feature of grouping like folders HOT 3
- TimeSeries Chart is showing Year for the January month HOT 5
- Storybook controls are out of date HOT 1
- D3_FORMATS PROBLEM HOT 5
- Request execution time jumps HOT 1
- Unexpected error HOT 2
- Failed to setup alerts and reports based pypi installation HOT 6
- 4.0.1: Alerting and reports does not take EMAIL RECIPIENTS* HOT 4
- [SIP-138] Proposal for Slack file upload V2 integration for Alerts and Reports HOT 3
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.