jeroentvb / spicetify-power-bar

Spotlight-like search bar for spotify
GNU General Public License v3.0
77 stars 4 forks source link

[feat] Add translations ? #34

Closed xerta555 closed 6 months ago

xerta555 commented 2 years ago

Hi

It could be possible to add a translations system to this great extension ?

There is not much things to translate, but it would be nice to implement it, but i can understand if it's too hard to implement.

Thanks in advance.

xerta555 commented 6 months ago

Thx for this enhancement, now how to translate it ?

jeroentvb commented 6 months ago

@xerta555 most of the power bar ui is now using the translations from 'Spicetify.Platform.Translations', which means it's using the language you set Spotify to. So no need to translate anything manually.

xerta555 commented 6 months ago

@xerta555 most of the power bar ui is now using the translations from 'Spicetify.Platform.Translations', which means it's using the language you set Spotify to. So no need to translate anything manually.

Ok i ask that bcz i see that the settings related to this module aren't translated, the categories are effectivly translated, but not the settings. How the settings strings could be translated ?

jeroentvb commented 6 months ago

I haven't implemented a way to do that. The parts that are currently translated leverage Spotify's existing translations.

You're welcome to re-open this issue if you'd like to see the settings translated as well, but I don't know if/when I do that because it will likely take more time.