Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: allow multiple default locales, for defaultMessage #60

Open
VictorBaron opened this issue Nov 25, 2019 · 0 comments
Open

Feature: allow multiple default locales, for defaultMessage #60

VictorBaron opened this issue Nov 25, 2019 · 0 comments

Comments

@VictorBaron
Copy link

New Feature

What is the current behavior?:
When running the script, it will insert the default message for the default locale only, and an empty string for other locales.
If i don't update immediately my locale files, react-intl fails and displays the id

What is the expected behavior?:
The purpose of the default message is to be a fallback.
I would want to export it by default, instead of an empty string

Suggested solution:
Either allow an array of default locales as a param, or a specific option that allows to extract the default message to every locale file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant