Repository navigation
i18n(es-419): complete Latin American Spanish translations - #2190
Conversation
Fill in all 737 previously untranslated strings in the es-419 admin catalog, taking coverage from 61% to 100%. Terminology and voice follow the existing catalog's conventions: formal usted for instructions, infinitive for buttons and labels, "No se pudo X" for failure toasts, and the settled es-419 terms (Agregar, respaldo, firma, entrada, elemento). ICU plural structure, placeholders, tags, and significant whitespace are preserved byte-exactly; the catalog compiles cleanly and was previewed screen-by-screen in the running admin. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VYCQX2PNX4wir7DJctR2mn
🦋 Changeset detectedLatest commit: c0b2dc9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 17 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Scope checkThis PR changes 1,483 lines across 2 files. Large PRs are harder to review and more likely to be closed without review. If this scope is intentional, no action needed. A maintainer will review it. If not, please consider splitting this into smaller PRs. See CONTRIBUTING.md for contribution guidelines. |
Lunaria Status Overview🌕 This pull request will trigger status changes. Learn moreBy default, every PR changing files present in the Lunaria configuration's You can change this by adding one of the keywords present in the Tracked Files
Warnings reference
|
@emdash-cms/admin
@emdash-cms/auth
@emdash-cms/auth-atproto
@emdash-cms/blocks
@emdash-cms/cloudflare
@emdash-cms/contentful-to-portable-text
emdash
create-emdash
@emdash-cms/gutenberg-to-portable-text
@emdash-cms/plugin-cli
@emdash-cms/plugin-types
@emdash-cms/registry-client
@emdash-cms/registry-lexicons
@emdash-cms/registry-verification
@emdash-cms/sandbox-workerd
@emdash-cms/x402
@emdash-cms/plugin-ai-moderation
@emdash-cms/plugin-atproto
@emdash-cms/plugin-audit-log
@emdash-cms/plugin-color
@emdash-cms/plugin-embeds
@emdash-cms/plugin-field-kit
@emdash-cms/plugin-forms
@emdash-cms/plugin-webhook-notifier
commit: |
There was a problem hiding this comment.
This is the right PR for the right problem: completing the es-419 admin catalog is a straightforward localization task and fits EmDash’s Lingui workflow. The changeset is present and correctly scoped to @emdash-cms/admin as a patch.
I read the diff, the full messages.po, locales.ts, the changeset, and the relevant source files for byline fields. I also ran an ICU-aware check over all 1,932 catalog entries: every numeric/named placeholder, <0> tag, and leading/trailing whitespace sequence is preserved (including the em1.… and xxxx … literals), and zero untranslated msgstr "" remain. The Media → Medios consistency fix is correct and matches the existing catalog (Subir medios, biblioteca de medios).
The two pre-existing issues the author deliberately excluded (hard-coded English relative-time helper, untranslated audit-log manifest labels) are indeed out of scope for a translation-only PR.
One terminology inconsistency stood out: the same byline feature translates "Job title" as "Cargo" in the help-text example but "Puesto de trabajo" in the label/slug placeholder. Aligning them would make the feature read consistently. That’s the only concrete finding; everything else is clean.
|
|
||
| #: packages/admin/src/components/BylineFieldEditor.tsx:235 | ||
| msgid "Job title" | ||
| msgstr "" | ||
| msgstr "Puesto de trabajo" |
There was a problem hiding this comment.
[suggestion] The standalone label "Job title" is translated here as "Puesto de trabajo", but the same concept is rendered as "Cargo" in the help-text example two screens earlier (line 682: "Agregue campos como \"Cargo\" o \"Pronombres\"...") and as lowercase "cargo" in the schema description (line 2244). Using two different names for the same example field can confuse editors about which built-in/custom field the help text is referring to.
Consider aligning the label and its example slug with "Cargo" (or, less concisely, aligning the example text to "Puesto de trabajo").
| msgstr "Puesto de trabajo" | |
| msgstr "Cargo" |
If you adopt "Cargo" here, also update the example slug on line 4427 from "puesto_de_trabajo" to "cargo".
The field-label placeholder said "Puesto de trabajo" while the byline schema help text modeled the same example as "Cargo". Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VYCQX2PNX4wir7DJctR2mn
|
Good catch — aligned both to «Cargo» in c0b2dc9. |
What does this PR do?
Completes the Español (Latinoamérica) —
es-419admin UI catalog: fills in all 737 previously untranslated strings, taking coverage from 61% to 100% (pnpm locale:extractnow reports 0 missing for es-419). The gap covered the content editor, media library, settings + backups, WordPress import, bylines, widgets, taxonomies, users/auth, redirects, and the plugin/registry screens.Terminology and voice follow the conventions already established by the catalog's 1,195 existing translations rather than personal preference:
{placeholders},<0>tags, and leading/trailing whitespace preserved byte-exactly (mechanically verified against every msgid).One consistency fix to an existing entry is included:
Media→Medios(was translated as the English word; the catalog already uses "Subir medios" / "biblioteca de medios", and fr/pt-BR translate it as "Médias"/"Mídia"). Flagged by a native speaker reviewing the running admin.No other locale, no source file, and no
msgidwas touched — the diff ises-419/messages.poplus a changeset.Closes: no tracked issue — gap surfaced by the translation dashboard and by running EmDash with Spanish-speaking editors.
Two small pre-existing issues noticed while testing, deliberately not touched here (not catalog strings): the relative-time helper in
packages/admin/src/lib/utils.tshardcodes English ("just now", "N mins ago"), and the audit-log plugin's manifest labels ("Recent Activity") render untranslated on the dashboard. Happy to file these separately.Type of change
Checklist
pnpm typecheckpassespnpm lintpassespnpm testpasses (or targeted tests for my change) —@emdash-cms/admin: 1222/1222 pass;pnpm locale:compileclean. (Full-suite run locally hits two pre-existing environment failures unrelated to this diff:registry-verificationneeds Node ≥ 24.15 and one core test trips on the macOS/varsymlink — both fail identically onmain.)pnpm formathas been runmessages.pochanges except in translation PRs — this is a translation PR; onlyes-419/messages.pois touched.AI-generated code disclosure
Screenshots / test output
Previewed in the running admin (
demos/simple, locale switched to es-419): dashboard (ICU plurals render correctly in bothone/otherbranches on the stat cards), settings → backups, WordPress import wizard, bylines + byline schema, content editor, media library, widgets, menus, redirects, users. No truncated buttons or overflow observed.pnpm locale:extractreports es-419 at 0 missing strings.🤖 Generated with Claude Code
https://claude.ai/code/session_01VYCQX2PNX4wir7DJctR2mn