Skip to content
This repository was archived by the owner on Jun 20, 2025. It is now read-only.

Default i18n getOrKey or getOrEmpty? #687

@lauraluiz

Description

@lauraluiz

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions