chubin / wttr.in

:partly_sunny: The right way to check the weather
https://wttr.in
Apache License 2.0
24.48k stars 1.1k forks source link

Translation: Irish (Gaeilge) #305

Open RobertDev opened 5 years ago

RobertDev commented 5 years ago

It would be great to have wttr translated into Irish. I'm happy to work on the translation, over the next week or two!

Todo

chubin commented 5 years ago

@RobertDev Robert thank you very much for this! We are missing the Irish translation very badly, and it would be really great if we could add it.

First of all, could you please translate these 5 words/phrases:

  1. Weather report for:
  2. Morning
  3. Day
  4. Evening
  5. Night

After that you can fork this repository and I will say to you, what files and where should be added, extended etc.

RobertDev commented 5 years ago

@chubin Happy to help out!

Sure:

  1. Réamhaisnéis na haimsire do: <PlaceName>

  2. Maidin

  3. that literally means the noun for a day. Depending on the meaning you're trying to convey you might prefer Noon: Nóin, Or Daytime: I rith an lae

  4. Tráthnóna

  5. Oíche

chubin commented 5 years ago

@RobertDev Robert, thank you very much for your translation. I've added initial support of Irish:

$ curl ga.wttr.in

That's how it looks like:

_lang=ga

Now we need the following things:

  1. Translations for weather conditions You can take say cy.txt as a base for your file.
    cp share/translations/cy.txt share/translation/ga.txt
    vim share/translation/ga.txt
  2. Translations of various messages in lib/translations.py

That is the main part. After it is done, to finalize the translation, we need the last step, translation of help:

  1. Translation of the help.
    cp share/translations/help.txt share/translations/ga-help.txt
    vim share/translations/ga-help.txt

After each step you can send me a pull request to switch the newly translated part live.

chubin commented 5 years ago

@RobertDev Robert, sorry for disturbing you, I just wanted to ask, may I somehow help with the trnanslation? It would be really great to have Irish support on wttr.in

Conor0Callaghan commented 4 years ago

@chubin hopefully the updated translations in the commit look like they are in the correct places?

chubin commented 4 years ago

@ivernus yes, it looks very good. A couple of files are missing (e.g. help.txt translation), but it is perfect finally have the Irish translation even without the help file. Could you please make a pull-request and I will merge and deploy it?

Conor0Callaghan commented 4 years ago

@ivernus yes, it looks very good. A couple of files are missing (e.g. help.txt translation), but it is perfect finally have the Irish translation even without the help file. Could you please make a pull-request and I will merge and deploy it?

No worries, there is PR #456 . I will try to do the help file also and raise a new PR.

chubin commented 4 years ago

@ivernus Conor, the translation is activated:

https://ga.wttr.in

I added your name to the translators list:

https://wttr.in/:translation

Please say if the name should be removed/hidden.

Could you please also translate the v2 view, it is just a bunch of words:

https://github.com/chubin/wttr.in/blob/master/lib/translations_v2.py#L29

chubin commented 4 years ago

(I've added todo to the header)