We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
描述bug 在 blog.config.js 里面设置了站点默认语言为 en-US,但实测无效,或者说效果不明显,包括其他语言,站点的一些主要栏目名称或者标题语言均不能切换到相应语言,开启切换按钮亦不能切换其他语言。
期望的正常结果 希望可以修正这个bug,并恢复语言切换按钮的功能 切换语言,但是保留博客标题和正文为英文或者中文是可以的,但是站点主题各项栏目设置最好还是改成相应语言。
复现步骤 1,在 blog.config.js 中,设置语言为英语: LANG: process.env.NEXT_PUBLIC_LANG || 'en-US', // e.g 'zh-CN','en-US' see /lib/lang.js for more. 2,开启语言切换按钮: THEME_SWITCH: process.env.NEXT_PUBLIC_THEME_SWITCH || true, // 是否显示切换主题按钮
环境
The text was updated successfully, but these errors were encountered:
tangly1024
No branches or pull requests
描述bug
在 blog.config.js 里面设置了站点默认语言为 en-US,但实测无效,或者说效果不明显,包括其他语言,站点的一些主要栏目名称或者标题语言均不能切换到相应语言,开启切换按钮亦不能切换其他语言。
期望的正常结果
希望可以修正这个bug,并恢复语言切换按钮的功能
切换语言,但是保留博客标题和正文为英文或者中文是可以的,但是站点主题各项栏目设置最好还是改成相应语言。
复现步骤
1,在 blog.config.js 中,设置语言为英语:
LANG: process.env.NEXT_PUBLIC_LANG || 'en-US', // e.g 'zh-CN','en-US' see /lib/lang.js for more.
2,开启语言切换按钮:
THEME_SWITCH: process.env.NEXT_PUBLIC_THEME_SWITCH || true, // 是否显示切换主题按钮
环境
The text was updated successfully, but these errors were encountered: