-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update i18n script and message bundle loading
- Remove unnecessary wrapper object in message bundles - Replace config.json with .env files - Add new script to run in 'i18n mode' with all build locales supported - Update dev readme with new scripts and config files - Update message extraction script to use formatjs cli instead of babel - Add formatjs linter
- Loading branch information
1 parent
f602958
commit a8901ab
Showing
27 changed files
with
3,356 additions
and
2,885 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
VITE_LOCALES_DEFAULT=en | ||
VITE_LOCALES_SUPPORTED=en,ja,zh-Hans | ||
VITE_LOCALES_BUILD=de,en,es,fr,it,ja,ko,pt,zh-Hans,zh-Hant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
VITE_LOCALES_SUPPORTED=$VITE_LOCALES_BUILD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.