babluboy / nutty

A Network Utility
GNU General Public License v3.0
156 stars 25 forks source link

Please remove 'no' translation code from Weblate #12

Closed petterreinholdtsen closed 6 years ago

petterreinholdtsen commented 7 years ago

Hi. I just noticed that three different Norwegian language codes were listed for Nutty on Weblate. Please remove https://hosted.weblate.org/projects/nutty/translations/no/ as it is obsolete and replaced by the nn and nb language codes.

babluboy commented 6 years ago

Removed "no" code from translations. Weblate updated as well.

petterreinholdtsen commented 6 years ago

[Siddhartha Das]

Removed "no" code from translations. Weblate updated as well.

Did something go wrong with Weblate. Every translation seem to be missing content there. Also, the 'nb' translation seem to have been renamed to 'nb_NO', which is normally a bad idea.

-- Happy hacking Petter Reinholdtsen

babluboy commented 6 years ago

@petterreinholdtsen Ooops ...might be my mistake - I changed the pot from nutty.pot to com.github.babluboy.nutty.pot to follow RDNN and in the process might have deleted the translated files for Nutty - although I think there were not much translations. I will check and restore the translations.

There was the same issue for no, nb and nb_no for bookworm and from that discussion we kind of agreed that updating from no to nb_NO was the consistent thing. Any reason for why you say its a bad idea.

Thanks for alerting me to this issue.

petterreinholdtsen commented 6 years ago

[Siddhartha Das]

There was the same issue for no, nb and nb_no for bookworm and from that discussion we kind of agreed that updating from no to nb_NO was the consistent thing. Any reason for why you say its a bad idea.

Yes. :)

With gettext, it make it easier to use a translation in a location other than the "official" location. Those that want to use the language in question in a different area/country will have to specify the wrong location. Ie. 'fr_CA' will match 'fr', but not 'fr_FR'. Similarly, 'nb_SE' will match 'nb', but not 'nb_NO'.

-- Happy hacking Petter Reinholdtsen

babluboy commented 6 years ago

@petterreinholdtsen From this discussion here

I concluded that I have "nb_NO" and "nn" codes for translations. Are you suggesting I add "nb" to the same?

Also, I looked at the code from a past branch and did not see any translated file. Also pulled a report from 2015 for all translators who contributed and did not find any? Did you see any translations done for Nutty on weblate?

petterreinholdtsen commented 6 years ago

[Siddhartha Das]

I concluded that I have "nb_NO" and "nn" codes for translations. Are you suggesting I add "nb" to the same?

I am suggesting you rename nb_NO to nb.

Also, I looked at the code from a past branch and did not see any translated file. Also pulled a report from 2015 for all translators who contributed and did not find any? Did you see any translations done for Nutty on weblate?

No idea.

-- Happy hacking Petter Reinholdtsen