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

Add localization #131

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open

Add localization #131

wants to merge 23 commits into from

Conversation

brklyn8900
Copy link
Contributor

Resolves #129

Brief description

Add localization utilizing next-intl.

Checklist

  • I have built this pull request locally
  • I have ran the unit tests locally
  • I have manually tested this pull request
  • I have reviewed my pull request
  • I have added any relevant tests

Demonstration

Copy link

netlify bot commented Nov 25, 2024

Deploy Preview for koinos-io ready!

Name Link
🔨 Latest commit c4fca34
🔍 Latest deploy log https://app.netlify.com/sites/koinos-io/deploys/67605f95a745cb0008ebf83f
😎 Deploy Preview https://deploy-preview-131--koinos-io.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@sgerbino
Copy link
Member

The drop down code should be the same code used elsewhere to prevent issues like the ones shown.

image
image

<Link
href={router.asPath}
locale="it"
className={`d-block px-3 py-1 text-decoration-none text-left ${router.locale === 'es' ? 'active' : ''}`}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy paste error? locale == 'es' seems wrong.

<Link
href={router.asPath}
locale="fa"
className={`d-block px-3 py-1 text-decoration-none text-left ${router.locale === 'es' ? 'active' : ''}`}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy paste error? locale == 'es' seems wrong.

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]: Localization
2 participants