Re: Regarding i18n in Mercurial

2018-08-11 Thread André Sintzoff
2018-08-10 9:00 GMT+02:00 David Demelier :

> Since translations are not updated often, my proposal is to completely
> remove them.
>
> What are your thoughts on that?

I would keep the Mercurial translations even they are not up to date.

If the translations are removed, there will be very little chance that
somebody will start from zero to translate all the messages.
Moreover, I know some French users not always comfortable with English
messages. Even not all Mercurial messages are translated, they
appreciate to have some of them in French.
Of course, they would prefer all messages in French.

If there is a decision to remove incomplete translation, let me time
to translate the Mercurial messages into French.


André, the guy who is translating TortoiseHg messages into French
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


Re: Regarding i18n in Mercurial

2018-08-10 Thread Anton Shestakov
On Fri, 10 Aug 2018 09:00:10 +0200
David Demelier  wrote:

> Since translations are not updated often, my proposal is to completely
> remove them.

Here's the thing: given the multitude of ways to contribute to an open
source project, translating it is one of the most unappreciated such
ways. When people don't understand the language, they often think i18n
commits is just noise (consider: we have a separate hg-i18n repo). If
they do understand the language, they may be too used to seeing
project's original language everywhere and reject changes because of
that. Multiple commits get squashed, credit gets lost, people boo at
your choice of words, etc.

If I ever saw a project that removed work of many people just because
that work wasn't perfect, I'd go contribute to something else where
contributions would be valued. (In case of translations, the work might
have been perfect at some point, and then just bitrotted.)

Removing translations from the whole project is not even needed to make
the interface be in English. Users can remove their own hg.mo file
locally, or use LC_ALL, or even HGPLAIN. Alternatively, they can look at
the interface and get an idea to send missing translations.

Instead of removing, we should think about making translations look
like contributions that we also want, just like patches to code.

> Also, having outdated translations may refer to
> deprecated/removed options.

Luckily, gettext has a "fuzzy" flag that gets added to a message when
its original text changes. It makes the message retain the existing
translation, but doesn't allow its use in the interface until it's is
updated.
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel