- utilze ReactJS Context API & hooks to build a Language Switching feature
- translations are kept inside json file (eg:
en.json
,es.json
) - english language is used by default & once translations are loaded then they are cached to prevent unnecessary Http request
- build custom hook
useLocale
,LocaleProvider
&LocaleContext
-
Notifications
You must be signed in to change notification settings - Fork 0
Created with CodeSandbox
deepak-chandani/Language_Switching_Context_API
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Created with CodeSandbox
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published