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

[Fix] add guidance of yarn dev -l option for one locale #3559

Merged

Conversation

alquist4121
Copy link
Contributor

@alquist4121 alquist4121 commented May 20, 2024

Related Issues

fixes #3560

Checklist

Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).

  • I have updated the CHANGELOG.md of the relevant packages.
    Changelog files must be edited under the form:

    ## Unreleased fix/major/minor
    
    - Description of your change. (thanks to @yourGithubId)
  • If this contains new features or behavior changes,
    I have updated the documentation to match those changes.

Copy link

changeset-bot bot commented May 20, 2024

⚠️ No Changeset found

Latest commit: 3d62911

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Note that [you can only host one locale at a time](https://tutorial.docusaurus.io/docs/tutorial-extras/translate-your-site#start-your-localized-site) when hosting the website locally with `yarn dev`.

```sh
yarn dev -l ja # When you are checking the Japanese docs locally
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
yarn dev -l ja # When you are checking the Japanese docs locally
npm run dev -l ja # When you are checking the Japanese docs locally

@rrousselGit rrousselGit marked this pull request as ready for review May 20, 2024 20:03
@rrousselGit rrousselGit merged commit 4ac8bee into rrousselGit:master May 20, 2024
5 of 6 checks passed
@rrousselGit
Copy link
Owner

Thanks!

@alquist4121 alquist4121 changed the title [WIP] [Fix] add guidance of yarn dev -l option for one locale [Fix] add guidance of yarn dev -l option for one locale May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

yarn dev -l {LANG} is needed when hosting documentation website locally for specific locale with docusaurus
2 participants