Thank you for that, I found the reference in the docusaurus i18n
tutorial now too.
I'll open a jira to get the script updated so a choice can be made
which locale we should run in the dev setup.

Wilfred

On Fri, 28 Jan 2022 at 23:43, 陈 翔 <[email protected]> wrote:
>
> You can run:  yarn run start -- --locale zh-cn
> Different languages need to be started independently in dev mode, but they 
> will be packaged together in the build phase.
>
> By the way, at present, my last submission of the master branch will report 
> an error when building. I have submitted a new PR to solve this problem
>
>
> 发件人: Wilfred Spiegelenburg <[email protected]>
> 日期: 星期五, 2022年1月28日 下午6:49
> 收件人: [email protected] <[email protected]>
> 主题: Local website build check 2nd language page not working
> I have tried to build the website locally to confirm a change is working.
> Is there anything special that needs to be done to allow browsing the
> translated pages?
> The only thing I get when I try to access the Chinese version (i.e.
> http://localhost:3000/zh-cn/) is an english page with "Page Not Found"
> message.
>
> I just execute the standard: local_build.sh run
> The logs show that it has built the zh-cn locale successfully and I
> can see the files in the build directory also. I tried cleaning up
> everything and re-ran the whole build from scratch.Used multiple
> browsers, cleaned the caches, nothing helped.
>
> Wilfred
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to