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

Support i18n in the not found page #4

Open
Alaye-Dong opened this issue Dec 4, 2024 · 1 comment
Open

Support i18n in the not found page #4

Alaye-Dong opened this issue Dec 4, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Alaye-Dong
Copy link

As shown in the figure, when vitepress-i18n is configured with the target language of Chinese (or some other language?), the not found page is still in English.

image

vitepress-i18n is great. But hope to support i18n in the not found page. If possible, do it in the future, thank you.😊 This will make vitepress-i18n even better.😎

@Alaye-Dong Alaye-Dong added the bug Something isn't working label Dec 4, 2024
@jooy2
Copy link
Owner

jooy2 commented Dec 5, 2024

Hello, thank you for reporting the issue.

Page-by-page or template-based translation is not in the scope of vitepress-i18n. VitePress I18n currently handles layout, search-based UI translation.

To achieve this, take a look at the custom themes offered by VitePress: https://vitepress.dev/guide/custom-theme

Regards,

@jooy2 jooy2 added enhancement New feature or request and removed bug Something isn't working labels Dec 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants