-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
header and footer of 404 page are not localized #3056
Comments
same here, should be fixed before stable release! |
Also there are several l18n related:
|
Tooltip for the "Copy Code" button is hardcoded too. |
I faced at this issue with the latest VitePress. As far as I investigated, what's happening is like below:
Updating |
|
Thank you for the quick fix!
|
I don't think there is any way to fix that except to render 404 completely on client 👀 |
@brc-dd will above mentioned container labels support locales? it seems still not fixed yet |
You can customize those but cannot override based on locale. Track #3141 (comment) for that. The current workaround is to always specify titles on blocks. |
Yeah, customizable but not localized, I will track that issue, thanks. |
Describe the bug
I added a custom notFound and footer content in the themeConfig and it works as expected, but when I passed custom in themeConfig of a locale, the values didn't appear
Reproduction
In any vitepress project that has locale go to themeConfig of that locale and add custom notFound or footer values and they wont show up when you are in that locale
Expected behavior
When you add custom values of notFound or footer in themeConfig or a locale, they should show up if you are in that locale
System Info
Additional context
you can find my config here:
https://github.com/NuruProgramming/nyaraka/blob/main/docs/.vitepress/config.mts
currently it only has notFound property in locale
Validations
The text was updated successfully, but these errors were encountered: