wttr.in
wttr.in copied to clipboard
Translation to pt_BR
Hello!
I've been using i3weather with wttr.in. I'm native in pt-br. I could translate it! Thanks for all the work in wttr
att Luis T
I could help with this translation.
@ltsuemitsu @TupaNegreiros Thank you guys! Have you checked pt.wttr.in? Is the difference to bt-br big?
Brazilian Portuguese is very different from the original Portuguese. Take a look at https://en.wikipedia.org/wiki/Brazilian_Portuguese Also, much more people speaks pt-br than pt-pt.
@TupaNegreiros Very interesting; I did not know it; I thought it is some like US-EN vs BR-EN.
Could you please add the translations here? https://github.com/chubin/wttr.in/tree/master/share/translations
It is not everything that should be translated, but a big fraction of it.
Just make a fork/commit/pull request. If you need some help, just say
Created files pt-br.txt and pt-br-help.txt
@TupaNegreiros Thank you!
Please check also this:
"Previsão do tempo para:"
"Manhã", "Meio-dia", "Tarde", "Noite"
Is this correct?
Please check the live version:
https://pt-br.wttr.in/
If everything is fine, the final step is this:
https://github.com/chubin/wttr.in/blob/master/lib/translations.py
and this:
https://github.com/chubin/wttr.in/blob/master/share/translation.txt
Those texts are correct. Subdomain pt-br.wttr.in is working fine.
Created a pull request with updated translations.py and translation.txt.
I put pt-br as "full translation", is it correct?
Thank you!
I can contribute to this, I've noticed pt-br has a lot of cut out text from the weather prediction due to portuguese being too extensive. What's your idea on this one, shorten text, abbreviations?
The problem lies in text order, since it will list possibility first, but not of what due to language construction.
Example image of today's weather listing a lot of possibilities (rain?)
Also chuveiro something means shower as in literal shower head object.
Correct translation of Light Rain Shower would be something like Pancada de Chuva Leve
I'd love to help!
Hey guys, testing this out and most things are translated but for some reason "Clear" is not? I mean, the correct translation would be "Limpo" but it doesn't seem to be implemented, how can I go about fixing it?
Hey guys, testing this out and most things are translated but for some reason "Clear" is not? I mean, the correct translation would be "Limpo" but it doesn't seem to be implemented, how can I go about fixing it?
Partly Cloudy isn't translating either.