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

I18N fixes: Fallback translations #52

Closed
wants to merge 6 commits into from
Closed

Conversation

IMB11
Copy link
Member

@IMB11 IMB11 commented Feb 18, 2024

Uses a patch to apply vuejs/vitepress#3312 to vitepress, this should work on all future vitepress versions (until 1.0.0, but by then, the PR is likely merged) - this was recommended by the vitepress maintainer as a workaround solution that will work in the long term.

Also fixes URLs on the sidebar by prepending the locale URL.

@IMB11 IMB11 requested review from a team as code owners February 18, 2024 18:49
Copy link

netlify bot commented Feb 18, 2024

Deploy Preview for nimble-elf-d9d491 ready!

Name Link
🔨 Latest commit 7106658
🔍 Latest deploy log https://app.netlify.com/sites/nimble-elf-d9d491/deploys/65d254bd962ad40008fa3637
😎 Deploy Preview https://deploy-preview-52--nimble-elf-d9d491.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.

@IMB11 IMB11 marked this pull request as draft February 18, 2024 18:52
"vitepress": "^1.0.0-rc.33",
"vitepress-versioning-plugin": "^0.10.0",
"vue": "^3.4.0"
"patch-package": "^8.0.0",
Copy link
Member

Choose a reason for hiding this comment

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

is this not a devDependencies?

Copy link
Member Author

Choose a reason for hiding this comment

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

Potentially? I didn't test if it worked as a devDependency

@IMB11 IMB11 added the framework This issue or pull request is related to the docs framework (vitepress). label Feb 18, 2024
@IMB11 IMB11 closed this Feb 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
framework This issue or pull request is related to the docs framework (vitepress).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants