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

Delete zh locale (#34) #37

Merged
merged 1 commit into from
Jan 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@ $ yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

### i18n

If you want to start the local development server using a different locale than the default, you can specify the locale in a parameter like this:
```
npm run start -- --locale zh
```

You will then be able to access that locale by appending it to the URL: http://localhost:3000/zh/

### Build

```
Expand Down
9 changes: 0 additions & 9 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@ const config = {
projectName: 'wiki', // Usually your repo name.
trailingSlash: true,

i18n: {
defaultLocale: 'en',
locales: ['en', 'zh'],
},

presets: [
[
'@docusaurus/preset-classic',
Expand Down Expand Up @@ -52,10 +47,6 @@ const config = {
src: 'img/icon.svg',
},
items: [
{
type: 'localeDropdown',
position: 'left',
},
{
href: 'https://nation3.org',
label: 'Main site',
Expand Down
186 changes: 0 additions & 186 deletions i18n/zh/code.json

This file was deleted.

14 changes: 0 additions & 14 deletions i18n/zh/docusaurus-plugin-content-docs/current.json

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Loading
Loading