Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Localization (translations) #307

Merged
merged 18 commits into from
Sep 3, 2022
Merged

Localization (translations) #307

merged 18 commits into from
Sep 3, 2022

Conversation

theRealPadster
Copy link
Member

@theRealPadster theRealPadster commented Aug 31, 2022

I added i18next as the library, and added some basic translations for settings modal as a proof of concept. It can detect the language set in Spotify, so we shouldn't need to add an option for it. The translations are stored in different files, so we can have people make PRs and add/update their native language.

Working on the settings modal so far:
image

Add some basic translations for settings modal as proof-of-concept
@theRealPadster theRealPadster changed the title ➕ 🌎 🚧 Add i18next for localization, Localization (translations) Aug 31, 2022
@theRealPadster theRealPadster linked an issue Aug 31, 2022 that may be closed by this pull request
@theRealPadster
Copy link
Member Author

I think I've got all the strings translated and this is ready to go. Please give it a test and see if I missed anything. I'd also like to note that I left the French "dark" and "light" theme tags in English because I wasn't sure which word referred to a colour theme as opposed to somber/gloomy/etc. @xerta555 What would you use for those?

@theRealPadster theRealPadster marked this pull request as ready for review September 3, 2022 03:51
@theRealPadster theRealPadster requested a review from a team as a code owner September 3, 2022 03:51
@theRealPadster theRealPadster requested review from CharlieS1103 and removed request for a team September 3, 2022 03:51
Copy link
Member

@kyrie25 kyrie25 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Works fine as well.

@xerta555
Copy link
Contributor

xerta555 commented Sep 3, 2022

@xerta555 What would you use for those?

Not having any programming skills (except shell), all the projects I'm involved in for translations use i18n with sites like Crowdin, GetLocalization, OneSky, Transifex and others.

@theRealPadster theRealPadster merged commit d3ece2c into main Sep 3, 2022
@kyrie25 kyrie25 deleted the feat/i18n branch September 4, 2022 05:09
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.

Add possibility to translate
3 participants