-
Notifications
You must be signed in to change notification settings - Fork 200
Feature auto translation before i die #67
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
Merged
XanderRubio
merged 9 commits into
BeforeIDieCode:feature-auto-translation-before-i-die
from
negar-75:feature-auto-translation-before-i-die
Sep 8, 2023
Merged
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
e78b081
config i18next for translation
negar-75 c467da9
created customized hook to get user's IP
negar-75 0aaa641
added different languages
negar-75 e7fe74d
mapped country with languages in json file
negar-75 bd8c45f
installed third party libraries
negar-75 6d85479
added function to translate presetText
negar-75 d8a1cee
imported config file
negar-75 c62cdbb
removed console.log
negar-75 f813814
Merge branch 'feature-auto-translation-before-i-die' of https://githu…
negar-75 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Nice! I see you installed the Axios and i18next packages. I'm familiar with Axios and will have to do a search on i18next to understand briefly. I know it is related to translating 😅 and I see there is a react version of it also.
Uh oh!
There was an error while loading. Please reload this page.
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.
Yeah in one of my previous projects I used i18next for translation, I think this is a good library for this, I do not know any better one 😂😂
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.
I see there are other libraries like react-intl and react-polyglot. Your addition and utilizing the i18next library for React works great, and we can continually add to the languages we upload and adjust in the future, but for now, this library makes absolute sense how you integrated it.