-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
feat: Add support for i18n #1526
Conversation
b91434e
to
65b4c50
Compare
@acao can you review this ? |
@@ -11,7 +11,7 @@ | |||
"src/*": ["*"] | |||
} | |||
}, | |||
"include": ["src"], | |||
"include": ["src", "src/**/*.json"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.json
files should always be included if resolveJSONModules
is enabled, right?
overall, this is looking fantastic! thanks so much @harshithpabbati. really just that one locale line, and finding a way to get the json files to copy over to dist/esm is needed. maybe we can just use also, if you'd like to add another translation in any of the languages you speak, feel free! |
ok cool! I will make the required changes. |
Co-authored-by: Xambey <Xambey@yandex.ru>
@acao updated the PR |
Thanks @Xambey for your PR.