Repository navigation
fix(i18n-es): correct 68 strings in the Spanish catalog - #45958
Merged
Merged
Conversation
Babel's fuzzy matcher copied the msgstr of a similar msgid into new
entries. Superset serves fuzzy entries, so Spanish users saw the copies.
For example, the Themes page title read "Hora/fecha" ("Time/date"),
and the dashboard Access section read "correcto" ("correct").
This commit changes 61 entries in the Spanish catalog:
- Strandings (23): dashboard properties sections, Themes, dataset
Folders, currency Auto-detect, SQL Lab table search, Google Sheets
alert, Waterfall series settings, the conditional formatting popover,
and the column type labels. The string type becomes "texto" in
both the column tooltip and the dataset editor dropdown.
- Label positions (18): "Inside" becomes "Interior", followed by the
direction words the catalog already uses. "Right" becomes "Derecha",
to match "Izquierda". The four bar chart positions use the names of
Excel's data label positions. The untranslated headers and
descriptions of the same controls get a translation.
- deck.gl GeoJSON point labels and icons (20): most labels were
strandings. GIS "feature" becomes "entidad", the term Esri ArcGIS
uses.
Of these entries, 50 had the fuzzy flag, 8 had no translation and 3
had a reviewed translation. All 61 are non-fuzzy afterwards. No other
entry changes.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
✅ Deploy Preview for superset-docs-preview ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #45958 +/- ##
==========================================
+ Coverage 84.79% 84.84% +0.05%
==========================================
Files 3074 3075 +1
Lines 206428 207675 +1247
Branches 48648 48940 +292
==========================================
+ Hits 175037 176199 +1162
- Misses 28094 28125 +31
- Partials 3297 3351 +54
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Each English term should have one Spanish translation in the catalog. The previous commit left three terms with two translations each: - "timestamp" read «fecha y hora» in the column tooltip. All 7 other reviewed strings with "timestamp" use «marca de tiempo», so the tooltip label uses it too. - "string" read «texto» in the tooltip and the dataset editor, but «cadena» in the string type icon and in the "Datetime format" description. Both become «texto». - GIS "feature" read «entidad» in the GeoJSON controls, but «características» in the WFS layer settings of the map chart. Both WFS strings become «entidades». The column type icon family gets three more fixes. The metric type icon read «icono de tipo numérico», a fuzzy copy of the numeric icon. The multi-value type icon had no translation. The function type icon drops «de» to match the other icon names. Co-Authored-By: Claude Opus 5.5 <[email protected]>
glaterza
marked this pull request as ready for review
November 3, 2026 04:26
Contributor
2 of 9 tasks
sadpandajoe
self-requested a review
November 3, 2026 17:59
Member
|
@glaterza thanks for the PR and the before/after screenshots. Really helpful. |
Contributor
|
As a native Spanish speaker, I can confirm that all translations look good! |
dmunozv04
approved these changes
Nov 4, 2026
glaterza
added a commit
to glaterza/superset
that referenced
this pull request
Nov 4, 2026
Master merged apache#45958, which changed the Spanish msgstr of the first old fragment. This branch removes that msgid, so the Spanish catalog keeps the branch side: the one-sentence msgid with its Spanish msgstr. Every other Spanish entry keeps the value from master. Co-Authored-By: Claude Opus 5.5 <[email protected]>
hainenber
pushed a commit
that referenced
this pull request
Nov 14, 2026
Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
SUMMARY
This PR corrects 68 entries in the Spanish catalog. Most of them are fuzzy entries that Babel's fuzzy matcher copied from a different msgid. Superset serves fuzzy entries, so Spanish users see the copies. For example, the Themes page title reads «Hora/fecha» ("Time/date"). The dashboard properties section "Access" reads «correcto» ("correct").
Each group below covers a whole control or screen, together with #45847, so that related options stay consistent. Of the 68 entries, 51 had the fuzzy flag, 9 had no translation and 8 had a reviewed translation. All 68 become non-fuzzy. No other entry changes.
msgfmt --statisticsfores: translated 3952 -> 4012, fuzzy 895 -> 844, untranslated 1071 -> 1062.Strandings on single screens (28)
"timestamp", "string", "numeric" and "boolean" are the column type labels in the column tooltip. The tooltip shows them only for a column without a database type. The four "type icon" entries are the accessible names of the column type icons in the Explore dataset panel. The msgid
STRINGis an option of the column type select in the dataset editor.This group follows one rule: one English term gets one Spanish term in the catalog. "string" in the type sense becomes «texto» in all 4 entries that use it, including the "Datetime format" description. In the other 14 reviewed strings "string" means a character string, for example "Date format string", and keeps «cadena». "timestamp" becomes «marca de tiempo», as in the other 7 reviewed strings with "timestamp".
"Refresh settings" is the title of the dashboard properties section that holds the refresh frequency. Its subtitle reads "Configure automatic dashboard refresh". «Actualización automática» names that feature with the words of the Spanish subtitle, «Configurar la actualización automática del panel».
Label positions (18)
This is a terminology decision. "Inside" becomes «Interior», followed by the direction words that the catalog already uses for "Top", "Bottom", "Left" and "Right". "Right" changes from «Derecho» to «Derecha», to match «Izquierda». "Right" is also an option in other controls, for example the pivot table subtotal position and the table header group alignment. «Derecha» reads correctly there too.
Rejected options:
The four options of the bar chart "Value label position" control name a point on the bar. "End" is the tip of the bar, and "Base" is the end on the axis. These English names are the data label positions of Microsoft Excel. Spanish Excel guides name them «Extremo interno», «Extremo externo», «Centro» and «Base interior» (source). This PR uses the same names. I rejected «Interior final» and «Interior base», because they read as directions.
Superset's Select sorts options by label. With this change the 9 "Inside" positions in the Radar chart sort together.
GIS features and deck.gl GeoJSON point labels and icons (22)
This is a terminology decision. GIS "feature" becomes «entidad». Esri uses this term in its Spanish documentation. The ArcGIS Online GeoJSON page says: «Los objetos de FeatureCollection contienen conjuntos de entidades.» (source). Four entries use the term: two in the GeoJSON controls and two in the WFS layer settings of the map chart. The WFS strings read «características» before.
Rejected options:
QGISmanual. It is longer.«entidad» already translates "entity" in 6 reviewed strings, for example "Add tag to entities". A map feature is an entity of a layer, so the two senses agree.
Most other labels in this group were strandings too, for example "Enable icons" read «Columnas de la tabla» ("Table columns").
Four entries of this control group are not in this PR. #45847 promotes them with their current text.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
Captured from a local production build. Each image shows master's catalog on the left and this branch on the right. Both sides come from the same build and database. Only the compiled
escatalog differs.Dashboard properties, section titles («Acceso», «Estilo», «Actualización automática», «Ajustes avanzados»):
Themes page: title, add button and system badge:
Conditional formatting popover («Columna a formatear», «Elemento a formatear», «Usar gradiente»):
Dataset editor, column type select of a calculated column (the
STRINGoption):Column tooltip of a column without a database type («marca de tiempo», «texto»):
Dataset editor, "Datetime format" description («Para columnas de texto»):
The end of this tooltip stays in English with both catalogs. The source code splits the sentence into five msgids, so no catalog can fix it. #45963 describes the bug and the proposed fix.
Radar chart, label position («Interior» + direction):
Bar chart, value label position (Excel's names):
deck.gl GeoJSON, point labels:
I captured 20 more screens with the same layout. They are available on request.
Some changes have no screenshot. The accessible names have no visible text: "Select object name" and the four changed type icons. The script checked each
aria-label. "Auto-detect" appears in the currency format select only when the dataset has a currency code column. The script set one in the local database and checked the option text. The lowercase "theme" fills in the resource messages of the Themes page, such as the import dialog and error toasts. I did not trigger those.The tooltip shows a column type label only for a column without a database type. For the tooltip screenshots, the script removed the
typeof five columns in the browser's copy of the/api/v1/explore/response. The database was not changed.TESTING INSTRUCTIONS
npm run build-translationinsuperset-frontend, thenpybabel compile --use-fuzzy -d superset/translations -l es.LANGUAGESto includees, then switch the UI to Spanish.msgfmt -c --statistics superset/translations/es/LC_MESSAGES/messages.po. It reports 4012 translated and 844 fuzzy.Three Playwright scripts opened each screen and checked that the rendered text equals the served catalog's msgstr. The local database held Superset's example data. The scripts ran 43 checks: 29 screen checks, 12 column type checks and 2 WFS layer checks. All 43 passed against master's catalog and against this branch.
ADDITIONAL INFORMATION
This PR and #45847 change different entries. Both merge orders onto master have no conflicts and give the same catalog.
The catalog translates "settings" as «ajustes» in 14 reviewed strings and as «configuración» in 9. This PR follows the majority. One term for the whole catalog needs its own PR.
The same screens hold more strandings, for example in the theme editor and the dataset folders editor. They need their own PRs. Strings that mention "dashboard" wait for the dashboard term decision.
Local checks skipped: pytest, Jest and the frontend toolchain check, because no Python or frontend source changed. I also skipped the catalog-propagation check, because
messages.potdid not change.🤖 Generated with Claude Code