Skip to content

npm start support all locale #7377

@robberphex

Description

@robberphex

Have you read the Contributing Guidelines on issues?

Description

When working at a multilingual docusaurus project, I always switch between npm start and npm start --locale zh-cn.

Could the user just run npm start and let localeDropdown works normally?

Has this been requested on Canny?

No

Motivation

Currently, npm start doesn't work for multi language site. npm run is not a full-version preview.

Could the user just run npm start and let localeDropdown works normally?

API design

No response

Have you tried building it?

No response

Self-service

  • I'd be willing to contribute this feature to Docusaurus myself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    closed: wontfixA fix will bring significant overhead, or is out of scope (for feature requests)domain: dxRelated to developer experience of working on Docusaurus sitesfeatureThis is not a bug or issue with Docusausus, per se. It is a feature request for the future.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions