Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Translation helpers should return the ID for untranslated messages as stated #1559
Currently, the EEL TranslationHelper states in its methods:
However, it will instead return
while it will indeed return the original label, if translated by label:
This can be considered at least inconsistent and/or false code documentation.
Generally, it would be nice to get the translation ID as output for missing translations (at least in development context?) instead of an empty string (which null will eventually resolve to when rendered), because the ID is easier to see as a missing translation and immediately directs at the correct spot.
These are the options to go about this that I see: