kagof / intellij-pokemon-progress

A Pokémon themed progress bar for IntelliJ IDEA.
https://plugins.jetbrains.com/plugin/15090-pokemon-progress
MIT License
192 stars 21 forks source link

Adding the possibility to switch language for pokemon names #86

Open gdemonteynard opened 9 months ago

gdemonteynard commented 9 months ago

Current behaviour (optional)

Currently, the names of the pokemon displayed in the tooltip when hovering are exclusively in english.

Description of the desired feature (required)

I would like to add the possibility to switch language in the settings so that the names could be displayed in the desired one.

Why this feature would be valuable (optional)

I am french, so I don't know many of the english names of the pokemons. Therefore, it is often hard for me to understand which pokemon is displayed when I don't recognise it's picture.

How to implement this feature (optional)

Adding a new option in the settings to switch to the desired language. My suggestion would be to use specific bundles (properties files) inventoring names of every pokemons in the desired language.

kagof commented 6 months ago

Hi @gdemonteynard, this is a really great idea that I'd love to implement. Agreed that using resource bundles will be the proper way to do this. I'll try to handle this at some point in the near future, and get it localized with at least English as a default and hopefully French as well. Once that's done, hopefully it'll make it easy for other contributors to add their own languages.