recalendar.js
recalendar.js copied to clipboard
feat: add pt-br translations
This PR adds Portuguese (pt-br) translation.
I left the [WIP] because I want to give it a second review tomorrow and maybe ask for a friend to review it too.
Thanks for the cool project!
@klimeryk I have a question. when I try to use pt-br
as the language code, the visualization breaks and I get this error:
i18next::languageUtils: rejecting language code not found in supportedLngs: pt-BR
however when I use pt
everything works normally. what do you think is the best? should we keep Brazilian Portuguese as pt
?
@giovana-morais your proposal would work 100% for Portugal Portuguese (pt-pt) as well. In my opinion, it can be added as just "Portuguese" (or Português).
Closing as changes have been merged as mentioned in https://github.com/klimeryk/recalendar.js/pull/39#pullrequestreview-1376943171 🙏
hi @klimeryk and @joaocrebelo! thanks for taking some time to review, comment and fix the issue with the language code! for the missing translations, there is no actual missing translations. in Portuguese, "remove" is from the verb "remover". long story short, they are the same in Portuguese and English. (:
Hahaha, I did not know that and made assumptions! Sorry I doubted your translation then! 🙇