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

feat: Add support for i18n #1526

Merged
merged 1 commit into from
May 16, 2020

Conversation

harshithpabbati
Copy link
Contributor

Screenshot 2020-05-08 at 5 35 59 PM

Thanks @Xambey for your PR.

@harshithpabbati
Copy link
Contributor Author

@acao can you review this ?

@@ -11,7 +11,7 @@
"src/*": ["*"]
}
},
"include": ["src"],
"include": ["src", "src/**/*.json"],
Copy link
Member

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?

@acao
Copy link
Member

acao commented May 15, 2020

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 copy yarn command. i would use cp but we are trying to be windows friendly

also, if you'd like to add another translation in any of the languages you speak, feel free!

@harshithpabbati
Copy link
Contributor Author

ok cool! I will make the required changes.

Co-authored-by: Xambey <Xambey@yandex.ru>
@harshithpabbati
Copy link
Contributor Author

@acao updated the PR

@acao acao merged commit b6b56fd into graphql:feat/use-context-hooks May 16, 2020
acao pushed a commit that referenced this pull request May 16, 2020
acao pushed a commit that referenced this pull request May 16, 2020
acao pushed a commit that referenced this pull request May 16, 2020
acao pushed a commit that referenced this pull request May 16, 2020
acao pushed a commit that referenced this pull request May 17, 2020
@acao acao added the graphiql label Nov 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Todo
Development

Successfully merging this pull request may close these issues.

2 participants