Skip to content

<FormatMessage> less error prone #54

@beckend

Description

@beckend

It kinda sucks to have a failing application when you translate with FormatMessage and a path does not exist on a certain locale, can you not simply return path string "as-is" when a path is not found, and warn in the console that the path does not exist?

And another case when you translate
<FormatMessage locale='language_which_is_not_yet_loaded' path='some/path'>
You also get a failing application, possible to do a try catch in FormatMessage in components to make it simply return path string if error does occur and then warn you in console?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions