Skip to content

feat: add Spanish (LATAM) language support + translations from champions#1544

Open
itsjavi wants to merge 6 commits into
PokeAPI:masterfrom
pokepc:feat/add-spanish-latam-lang
Open

feat: add Spanish (LATAM) language support + translations from champions#1544
itsjavi wants to merge 6 commits into
PokeAPI:masterfrom
pokepc:feat/add-spanish-latam-lang

Conversation

@itsjavi
Copy link
Copy Markdown

@itsjavi itsjavi commented Jun 6, 2026

Since Legends Z-A onwards, the main-series games will have ES-LA (LATAM Spanish) as another official localization, apart from the upcoming PT-BR (Brazilian Portuguese) in Winds and Waves (or maybe earlier in Champions).

With this, in mind and since I am also maintaining the translations in pokepc/dataset, I thought it would be a good addition that you could also benefit from the work I've done there. The data in there is transformed from the original https://github.com/projectpokemon/champout

Change description

This PR adds a new set of scripts to create a new language entry by copying another. Since most of the content in ES-LA is practically the same as ES-LA, I initially made a copy of all the translations to the new language.

After that, I took the data of the Pokemon Champions dump used in pokepc/dataset to localize both Spanish languages properly, based on the namings used in Champions.

To see more about this process you can check the commits, which have a clean split of every chunk of work done.

Some missing spanish ES-ES translations were also added in the way. I am attaching the python script I used to import from pokepc JSON files to the pokeapi CSVs.

It can be reused to address other missing translations as well, or even use it as a base for adding the prose for Champions.

Rationale about the language codes:

14,es,mx,es-419,1,14

I haven't used ES-LA because it's not in any ISO standard. The official standard for latin-american spanish is es-419 (ugly I know). Also, since the 3rd column only supports 2 chars, I used mx which is usually the one used as a base for localizing games in latin american spanish.

I also changed the Brazilian Portuguese "official" flag from 0 to 1.

AI coding assistance disclosure

It helped creating the scripts for adding a new language and importing the JSONs.

Contributor check list

  • I have written a description of the contribution and explained its motivation.
  • I have written tests for my code changes (if applicable).
  • I have read and understood the AI Assisted Contribution guidelines.
  • I will own this change in production, and I am prepared to fix any bugs caused by my code change.

update_pokepc_names.py

@itsjavi itsjavi changed the title Feat/add spanish latam lang feat: add Spanish (LATAM) language support + translations from champions Jun 6, 2026
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.

1 participant