wttr.in icon indicating copy to clipboard operation
wttr.in copied to clipboard

Translation to pt_BR

Open ltsuemitsu opened this issue 6 years ago • 10 comments

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

ltsuemitsu avatar Aug 16 '18 17:08 ltsuemitsu

I could help with this translation.

TupaNegreiros avatar Feb 17 '19 21:02 TupaNegreiros

@ltsuemitsu @TupaNegreiros Thank you guys! Have you checked pt.wttr.in? Is the difference to bt-br big?

chubin avatar Feb 17 '19 22:02 chubin

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 avatar Feb 17 '19 22:02 TupaNegreiros

@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

chubin avatar Feb 17 '19 22:02 chubin

Created files pt-br.txt and pt-br-help.txt

TupaNegreiros avatar Feb 18 '19 15:02 TupaNegreiros

@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

chubin avatar Feb 19 '19 19:02 chubin

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!

TupaNegreiros avatar Feb 20 '19 14:02 TupaNegreiros

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!

image

image

rkzwei avatar Dec 20 '23 06:12 rkzwei

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?

NakeleKantoo avatar Jun 25 '24 02:06 NakeleKantoo

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.

tomaszandonamig avatar Jul 01 '24 12:07 tomaszandonamig