python-babel / flask-babel

i18n and l10n support for Flask based on Babel and pytz
https://python-babel.github.io/flask-babel/
Other
444 stars 159 forks source link

Empty string should be translated to whatever translated and not the PO nonsense info #74

Closed AlmogCohen closed 4 years ago

AlmogCohen commented 9 years ago

I know that the GNU gettext is overriding whatever we think and just replace empty string with nonsense information. Its time to stop the crime! Its time that we can control the empty string!

Most likely, it will be just super convenient to translate empty strings to empty strings!

I just make gzilion of problems that empty string is translated to this wierd PO information. Is anybody see any reason to keep working that way?

Reference: http://www.gnu.org/software/gettext/manual/gettext.html#MO-Files

TkTech commented 4 years ago

This isn't just a preference, but in the "specification" of gettext. We're not going to change 30 years of expected behavior, as odd as it might seem