Skip to content

Add Spanish localization - #1101

Open
Ismail Haddouche Rhali (ismailhaddouche) wants to merge 2 commits into
microsoft:mainfrom
ismailhaddouche:feat/spanish-localization
Open

Ismail Haddouche Rhali (ismailhaddouche) wants to merge 2 commits into
microsoft:mainfrom
ismailhaddouche:feat/spanish-localization

Conversation

@ismailhaddouche

Copy link
Copy Markdown

Summary

  • add a complete package.nls.es.json for the extension
  • localize all 70 strings from the base package.nls.json
  • preserve command URIs and use terminology consistent with the Spanish VS Code UI

This covers commands, settings, task definitions, and Java Projects welcome views, including Create Java Project.

Validation

  • jq validation and exact key-parity check with package.nls.json
  • command-link parity check for all localized welcome messages
  • npm run compile
  • npm run tslint
  • npm exec -- vsce ls confirms package.nls.es.json is packaged
  • npm test: 53 tests pass; two existing Simple Project View integration tests fail because the Red Hat Java test host reports No delegateCommandHandler for java.getPackageData (unrelated to this JSON-only change)

@ismailhaddouche

Copy link
Copy Markdown
Author

@microsoft-github-policy-service agree

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot review overview

🟢 Approval recommended

Localization parity and command links were validated with no unresolved issues.

Review effort: Lite
Findings: None

What changed in this PR

Adds complete Spanish localization for the extension.

Changes:

  • Adds 70 Spanish translations across commands, settings, tasks, and welcome views.
  • Preserves localization keys and command URIs.
File Description
package.nls.es.json Spanish translations for extension UI strings.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread package.nls.es.json
Comment thread package.nls.es.json
"taskDefinitions.java.project.exportJar.elements": "Lista de contenido del archivo JAR exportado.",
"taskDefinitions.java.project.exportJar.mainClass": "Clase principal del manifiesto del archivo JAR exportado.",
"taskDefinitions.java.project.exportJar.compileOutput": "Carpetas que contienen archivos de clase de salida en el ámbito de ejecución.",
"taskDefinitions.java.project.exportJar.testCompileOutput": "Carpetas que contienen archivos de clase de salida en el ámbito de prueba.",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Optional wording suggestion: ámbito de pruebas is more idiomatic than ámbito de prueba for “test scope.” This also applies to the test-dependency description below.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants