How to null a translation in gettext system?
- by Evgeny
Suppose a simple phrase "In" in English needs to be interpreted as "" - empty string in Russian.
Is is possible to specify that in the .po file?
What normally happens if you set msgstr "" - you'll get the untranslated key, but I want to get nothing in that specific case.
Here is a use case: I have underneath a giant search bar a set of buttons to select questions (for a Q&A site) from particular scopes - like so:
(in English)
In: [all] [unanswered] [my own]
(in Russian I want)
[???] [??? ???????] [???]
It just sounds more natural. Yes I can leave out In for english, but I don't want to and I do not want to put button (things in [] are buttons) html into the 'po' file.
Thanks!