-
Notifications
You must be signed in to change notification settings - Fork 4
disallowBlankTranslations should allow exceptions #69
Comments
Yep, for the same reason, this rule is also disabled in MediaWiki core. Perhaps one way to make this work is to build on top of the existing conventions we have that communicate with translatewiki.net translators. In particular, we use the Banana checker could look for that, and tolerance emptiness in those case. |
Can {{Ignore}} be used in translations themselves or just qqq at the moment? |
@jdlrobson I'm not sure I understand the question, or rather, why. It is technically valid for the characters Within the localisation system, we've designated exactly one non-language message file to host information that isn't intended for end-users as a translation: qqq. (That is uselang=qqq will fallback to uselang=en the same way uselang=somethingelseinvalid would). Instead, the qqq values are shown to translators on translatewiki.net where there is conventions and semi-automation in place around its format. Including these template tags, which Niklas and Raimond monitor to update their "Ignore" list in the configuration of the translation software (source) - this in turn excludes these messages from the list of "Messages needing translation" in their UI, etc. It's an existing convention we can leverage by having banana-checker inspect Having said that, I'm quite open to solving this a different way. Is there a different place you have in mind to store this information? |
I'm not in love with inspecting the values of |
The main reason I'd like to explore inspecting We could require developers to manually enumerate all keys they want to ignore, but then they would still also have to set their documentation keys to |
My concerns about this are two-fold:
Also, PR #74 will fixe the request as opened, but let's leave this open for wider discussion? |
The
disallowBlankTranslations
option is global and useful to enable. However, some strings support an empty state and should be excluded. This circumstance occurred recently for a string in MobileFrontend.. The translator wishes to suppress this messaging but it is not permitted by banana checker.The text was updated successfully, but these errors were encountered: