globalizejs / globalizejs/react-globalize

<FormatMessage> less error prone

Open
#54 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
107
Forks
20
PR merge metrics
No merged PRs in 30d

Description

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
``
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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.