anthropics / anthropics/claude-code

[BUG] Spanish output uses "librería" (bookstore) as a mistranslation of "library"

Aperta
#93,896 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:model bug
Lingua principale
Python
Stelle
145k
Fork
23.1k
Metriche di merge delle PR
Metriche PR in attesa

Descrizione

### Preflight Checklist

- [x] I have searched [existing issues](https://github.com/anthropics/claude-code/issues?q=is%3Aissue%20state%3Aopen%20label%3Abug) and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code

### What's Wrong?

### Description

When responding in Spanish, Claude consistently translates "library" (as in code library / dependency) as "librería". This is a common but incorrect mistranslation: in Spanish, "librería" means "bookstore" (a shop that sells books). The correct term for a code library is "biblioteca".

### Example

- Wrong: "agregar la librería de Python al proyecto"
- Right: "agregar la biblioteca de Python al proyecto"

### Impact

This shows up in generated docs, READMEs, comments, and commit messages for Spanish-speaking users, and it's a recognizable anglicism/false-friend error that undermines the quality of Spanish output.

### What Should Happen?

Bias Claude's Spanish output toward "biblioteca"/"bibliotecas" for the software sense of "library", reserving "librería"/"librerías" for actual bookstores.

### Error Messages/Logs

```shell

```

### Steps to Reproduce

Whenever you are talking about libraries, then they get consistently mistranslated to librerías.

### Claude Model

Not sure / Multiple models

### Is this a regression?

No, this never worked

### Last Working Version

_No response_

### Claude Code Version

latest

### Platform

Anthropic API

### Operating System

macOS

### Terminal/Shell

VS Code integrated terminal

### Additional Information

_No response_

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Direzione di ricerca

Start by reproducing a Spanish response that uses “librería” for a software library, then trace the project’s available model-instruction or localization path. Done means software references consistently prefer “biblioteca” while bookstore references retain “librería”, including generated documentation, READMEs, comments, and commit messages.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Ambito
ai, content, localization
Tipo di issue
Bug
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Attiva
Chiarezza
Abbastanza chiara
Idoneità per principianti
25/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.