Skip to content

fix(i18n-es): correct 68 strings in the Spanish catalog - #45958

Merged
hainenber merged 2 commits into
apache:masterfrom
glaterza:fix/i18n-es-strandings
Nov 4, 2026
Merged

hainenber merged 2 commits into
apache:masterfrom
glaterza:fix/i18n-es-strandings

Conversation

@glaterza

@glaterza glaterza commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

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 --statistics for es: translated 3952 -> 4012, fuzzy 895 -> 844, untranslated 1071 -> 1062.

Strandings on single screens (28)

English Before After
Styling «CADENA» «Estilo»
Access «correcto» «Acceso»
Refresh settings «Ajustes de archivo» «Actualización automática»
Advanced settings «Análisis avanzados» «Ajustes avanzados»
Series settings «Ajustes de archivo» «Ajustes de series»
Folders «Filtros» «Carpetas»
Auto-detect «Autocompletar» «Detección automática»
Theme «Hora/fecha» «Tema»
Themes «Hora/fecha» «Temas»
theme «Hora/fecha» «tema»
System «transmitir» «Sistema»
Why do I need to create a database? «¿Quieres añadir una nueva base de datos?» «¿Por qué tengo que crear una base de datos?»
Enter a part of the object name «Si se deben rellenar los objetos» «Introduce parte del nombre del objeto»
string «CADENA» «texto»
numeric «NUMÉRICO» «numérico»
boolean «BOOLEANO» «booleano»
timestamp «Mostrar marca de tiempo» «marca de tiempo»
STRING «CADENA» «TEXTO»
string type icon «icono de tipo de cadena» «icono de tipo texto»
The pattern of timestamp format. For strings use «El patrón del formato de marca de tiempo. Para cadenas, usa » «El patrón del formato de marca de tiempo. Para columnas de texto, usa »
metric type icon «icono de tipo numérico» «icono de tipo métrica»
multi-value type icon untranslated «icono de tipo multivalor»
function type icon «icono de tipo de función» «icono de tipo función»
Formatting column «Formateando» «Columna a formatear»
Formatting object «Formateando» «Elemento a formatear»
Select object name «Seleccionar asunto» «Seleccionar elemento»
Use gradient «Granularidad temporal» «Usar gradiente»
Formatting «Formateando» «Formato»

"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 STRING is 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.

English Before After
Inside «Índice» «Interior»
Inside top «Interior superior» «Interior arriba»
Inside bottom «inferior» «Interior abajo»
Inside left «Anclar a la izquierda» «Interior izquierda»
Inside right «Anclar a la derecha» «Interior derecha»
Inside top left «Arriba a la izquierda» «Interior arriba a la izquierda»
Inside top right «Arriba a la derecha» «Interior arriba a la derecha»
Inside bottom left «Abajo a la izquierda» «Interior abajo a la izquierda»
Inside bottom right «Abajo a la derecha» «Interior abajo a la derecha»
Inside End untranslated «Extremo interno»
Outside End untranslated «Extremo externo»
Inside Center untranslated «Centro»
Inside Base untranslated «Base interior»
Right «Derecho» «Derecha»
Label Position untranslated «Posición de la etiqueta»
Value label position untranslated «Posición de la etiqueta de valor»
Position of the data label relative to the data point untranslated «Posición de la etiqueta de datos respecto al punto de datos»
Choose where to display values relative to the bars untranslated «Elige dónde mostrar los valores respecto a las barras»

Rejected options:

  • «Interior superior» reads as a noun phrase, not as a position.
  • «Dentro, arriba» is longer, and the comma reads oddly in a dropdown.

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:

  • «elemento» is the generic UI word in this catalog. It does not mark the GIS term.
  • «objeto espacial» is the term of the QGIS manual. It is longer.
  • «fenómeno» appears only in the Spanish edition of ISO 19110.

«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").

English Before After
Enable labels «Etiquetas de intervalo» «Habilitar etiquetas»
Label property name «Nombre de la alerta» «Nombre de la propiedad de la etiqueta»
The feature property to use for point labels «La propiedad de elemento a usar para las etiquetas de puntos» «La propiedad de la entidad que se usa para las etiquetas de los puntos»
Label color «Color de relleno» «Color de la etiqueta»
The color of the point labels «El color de la isolínea» «El color de las etiquetas de los puntos»
Label size «Línea de la etiqueta» «Tamaño de la etiqueta»
The font size of the point labels «Si se debe mostrar el puntero» «El tamaño de fuente de las etiquetas de los puntos»
Label size unit «Línea de la etiqueta» «Unidad del tamaño de la etiqueta»
Meters «metros» «Metros»
Enable icons «Columnas de la tabla» «Habilitar iconos»
Icon URL «Copiar URL» «URL del icono»
Icon size «Tamaño de fuente» «Tamaño del icono»
The size of the point icons «La anchura de la isolínea en píxeles» «El tamaño de los iconos de los puntos»
Icon size unit «Tamaño de fuente» «Unidad del tamaño del icono»
The unit for icon size «Tamaño de fuente del subtítulo» «La unidad del tamaño del icono»
The radius of point features, in the units specified belo... «El radio de las entidades de punto, en las unidades especificadas a continuación. El tamaño final renderizado es este valor multiplicado por la escala del radio de punto.» «El radio de las entidades de punto, en las unidades indicadas abajo. El tamaño final es este valor multiplicado por la escala del radio del punto.»
A multiplier applied to the point radius. Use this to uni... «Un multiplicador aplicado al radio del punto. Úselo para escalar uniformemente todos los puntos.» «Un multiplicador aplicado al radio del punto. Úsalo para escalar todos los puntos por igual.»
Point Radius Units «Unidades del radio de punto» «Unidades del radio del punto»
The unit for point radius. Use "pixels" for consistent sc... «La unidad para el radio de punto. Use "píxeles" para un tamaño consistente en el espacio de pantalla independientemente del nivel de zoom.» «La unidad del radio del punto. Usa "píxeles" para que el tamaño en pantalla no cambie con el nivel de zoom.»
Common (unit per pixel at zoom 0) «Común (unidad por píxel en zoom 0)» «Común (unidad por píxel en zoom 0)»
Max. features «Características máx.» «Entidades máx.»
Maximum number of features to fetch from service «Número máximo de características a recuperar del servicio» «Número máximo de entidades que se obtienen del servicio»

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 es catalog differs.

Dashboard properties, section titles («Acceso», «Estilo», «Actualización automática», «Ajustes avanzados»):

A1-dashboard-properties-sections_3-side-by-side

Themes page: title, add button and system badge:

A2-themes-page_3-side-by-side

Conditional formatting popover («Columna a formatear», «Elemento a formatear», «Usar gradiente»):

A4-conditional-formatting-gradient_3-side-by-side

Dataset editor, column type select of a calculated column (the STRING option):

A3-dataset-column-type_3-side-by-side

Column tooltip of a column without a database type («marca de tiempo», «texto»):

A3-column-type-tooltip-timestamp_3-side-by-side A3-column-type-tooltip-string_3-side-by-side

Dataset editor, "Datetime format" description («Para columnas de texto»):

A3-datetime-format-description_3-side-by-side

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):

B-radar-label-position_3-side-by-side

Bar chart, value label position (Excel's names):

B-bar-value-label-position_3-side-by-side B-bar-value-label-position-header_3-side-by-side

deck.gl GeoJSON, point labels:

C-geojson-labels_3-side-by-side

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 type of five columns in the browser's copy of the /api/v1/explore/ response. The database was not changed.

TESTING INSTRUCTIONS

  1. Build the frontend and compile the Spanish catalog: npm run build-translation in superset-frontend, then pybabel compile --use-fuzzy -d superset/translations -l es.
  2. Set LANGUAGES to include es, then switch the UI to Spanish.
  3. Open Settings, then Themes. The page title reads «Temas», and the button reads «Tema».
  4. Edit a dashboard and open its properties. The sections read «Acceso», «Estilo», «Actualización automática» and «Ajustes avanzados».
  5. Open the Radar chart in Explore, enable labels, and open "Posición de la etiqueta". The options read «Interior», «Interior arriba» and so on.
  6. Run 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

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

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.pot did not change.

🤖 Generated with Claude Code

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]>
@netlify

netlify Bot commented Nov 2, 2026

Copy link
Copy Markdown

✅ Deploy Preview for superset-docs-preview ready!

Name Link
🔨 Latest commit c3c9f8f
🔍 Latest deploy log https://app.netlify.com/projects/superset-docs-preview/deploys/6ae8d9216edcf2fd61012ebf
😎 Deploy Preview https://deploy-preview-45958--superset-docs-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions github-actions Bot added i18n Namespace | Anything related to localization i18n:spanish Translation related to Spanish language labels Nov 2, 2026
@codecov

codecov Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.84%. Comparing base (e41f13b) to head (41e8a5e).
⚠️ Report is 10 commits behind head on master.

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     
Flag Coverage Δ
hive 34.25% <ø> (-0.24%) ⬇️
mysql 52.27% <ø> (-0.33%) ⬇️
postgres 52.29% <ø> (-0.33%) ⬇️
presto 35.96% <ø> (-0.26%) ⬇️
python 87.83% <ø> (+0.06%) ⬆️
sqlite 52.04% <ø> (-0.33%) ⬇️
unit 82.63% <ø> (+0.09%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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 glaterza changed the title fix(i18n-es): correct 61 strings in the Spanish catalog fix(i18n-es): correct 68 strings in the Spanish catalog Nov 2, 2026
@glaterza
glaterza marked this pull request as ready for review November 3, 2026 04:26
@codeant-ai-for-open-source

Copy link
Copy Markdown
Contributor

CodeAnt  CodeAnt PR Risk

🟢  Low Risk

  • The PR appears safe to merge; no actionable issues were identified in the review.

Assessed commit: 41e8a5e0eaf2

@sadpandajoe sadpandajoe left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@sadpandajoe

Copy link
Copy Markdown
Member

@glaterza thanks for the PR and the before/after screenshots. Really helpful.

@dmunozv04

Copy link
Copy Markdown
Contributor

As a native Spanish speaker, I can confirm that all translations look good!

@hainenber
hainenber merged commit 59ccad0 into apache:master Nov 4, 2026
124 checks passed
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
villebro added a commit that referenced this pull request Nov 14, 2026
…5958 and #45973)

Ports the msgstr corrections of #45958 (es) and #45973 (it and ca, plus the
translator comment on the Action Log "Log" string) to 7.0's catalogs, for
the messages that exist on 7.0.

(cherry picked from commit 59ccad0, reduced)
(cherry picked from commit 494a507, reduced)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

i18n:spanish Translation related to Spanish language i18n Namespace | Anything related to localization size/L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants