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 initial i18n support #62

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

Conversation

VladNastase
Copy link
Contributor

This adds initial support for internationalisation and localisation.

The files that need to be translated to romanian are under website/i18n/ro/. Currently, they are a copy of the current ones, in english.

Copy link
Collaborator

@StefanJum StefanJum left a comment

Choose a reason for hiding this comment

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

@VladNastase changing the language to RO and then changing it again will break the url. If trying to change back to English the url will still be ..../ro, if trying to change to RO again the url will be ...../ro/ro. Basically once you change to RO the ro/ in the url will never disappear.

Also see the conflicts with the main branch.

@VladNastase
Copy link
Contributor Author

I cannot reproduce the issue with the repeated language changes. Can you provide more details about the way you are serving the website? I am using npm run serve after npm run build in the website directory. I have also tested with python3 -m http.server directly in the website/build directory and it worked.

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.

2 participants