DevChallenge icon indicating copy to clipboard operation
DevChallenge copied to clipboard

feat(frontend): Add i18n to the website

Open esau-morais opened this issue 5 years ago • 10 comments

react-i18next

Expected

More languages (English, Spanish, at least)

Actual

Just portuguese

What is i18n?

Internationalization (i18n) is the process of preparing software so that it can support local languages and cultural settings. ... I18n is product development focused so that in the case of software, one code base is made capable of supporting worldwide languages and locale-specific formatting and behaviors

Why you should add i18n feature

Open-source supporting → I think this is enough to explain how important it is.

Steps

  • [ ] Install react-i18next library
  • [ ] Make the translations
    • [ ] English (United States)
    • [ ] Portuguese (Brazil)

esau-morais avatar Oct 02 '20 16:10 esau-morais

Thanks for your suggestion, Esau!

Could you solve this issue with a Pull Request? Do you have time and knows how to begin with?

ramos-ph avatar Oct 02 '20 16:10 ramos-ph

Thanks for your suggestion, Esau!

Could you solve this issue with a Pull Request? Do you have time and knows how to begin with?

Yes, how I explained in the community, the issue is just a validation to the pull request. I need the community participation to continue.

Regards, Esaú

esau-morais avatar Oct 02 '20 16:10 esau-morais

Feel free to contribute! I will open a Project board here.

The data is also stored in Brazilian Portuguese. Do you have any idea of how workaround this without flooding the database?

ramos-ph avatar Oct 02 '20 16:10 ramos-ph

Thank you!

Yes, I just need to analyse the project before

esau-morais avatar Oct 02 '20 16:10 esau-morais

I agree with this issue, I planned to talk about this in the meeting saturday. I am interested in learning how to implement this. I can also translate PT-BR to English and Spanish.

stevescruz avatar Oct 02 '20 16:10 stevescruz

I agree this issue, I planned to talk about this in the meeting saturday. I am interested in learning to implement this. I can also translate PT-BR to English and Spanish.

Good to know. The translations are the hardest part, we need to review well too

esau-morais avatar Oct 02 '20 16:10 esau-morais

We have an API Reference available in the other repo that's filled with request and response examples.

I highly recommend that you give a look. That way we can discuss what is the best way to do it.

Follow the link: https://github.com/Lorenalgm/DevChallengeAPI/blob/master/REFERENCE.md

ramos-ph avatar Oct 02 '20 16:10 ramos-ph

By the way another thing we should decide upon is to define a more strict language policy for commits and issues to standardize it. But this is off-topic.

stevescruz avatar Oct 02 '20 16:10 stevescruz

@stevescruz Please see: https://github.com/Lorenalgm/DevChallengeAPI/tree/master/.github

ramos-ph avatar Oct 02 '20 16:10 ramos-ph

We can continue this discussion in the community.

esau-morais avatar Oct 02 '20 18:10 esau-morais