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/issue 164 Added support for multiple languages #194

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

parvez-ahammed
Copy link
Collaborator

What

  • Adds i18next , react-i18next packages for managing localization
  • Saves the user's language preference in local storage.
  • Retrieves the user language preference.
  • Adds partial language support for EN and NO. [ The whole application's text hasn't been converted yet. ]

How

  • Introduces a useLocales hook that gives translations based on the user's preferences. The hook can be used like below:
const { locale } = useLocales();
toast.error(locale.error.invalidEmail)

@parvez-ahammed parvez-ahammed changed the title feat: support for multiple languages #164 Feat/issue 164 Added support for multiple languages Jan 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEATURE REQ] Added support for multiple languages
1 participant