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

Status Open
Maintainer reply None cached
Activity 0 comments · opened Sep 12, 2026

Preflight Checklist

  • [x] I have searched existing issues 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

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_

View original on GitHub ↗