In some places (e.g. HandlebarsI18nHelper) the default is getOrEmpty, so it returns empty when the message key is not found. But on other places it has been decided to use getOrKey to allow to write unlocalized messages or simply to display something even if it's a message key (sometimes that can be more useful than nothing).
In some places (e.g. HandlebarsI18nHelper) the default is getOrEmpty, so it returns empty when the message key is not found. But on other places it has been decided to use getOrKey to allow to write unlocalized messages or simply to display something even if it's a message key (sometimes that can be more useful than nothing).