Skip to content

Commit

Permalink
add i18n button
Browse files Browse the repository at this point in the history
  • Loading branch information
AmazingAng committed May 3, 2023
1 parent 72546b2 commit c41b0d3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
A flexible online playground for Solidity smart contract, inspired by remix-IDE and react-live

### Demo
- Check demo website: https://solive.wtf
- Check demo website: https://demo.solive.wtf

- build demo: [demo](./apps/demo)

### DOC
- Check doc website: https://solive-doc-git-dev-wtfacademy.vercel.app
- Check doc website: https://solive.wtf

- build doc: [doc](./apps/doc)

Expand Down
5 changes: 4 additions & 1 deletion apps/doc/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ const config = {
// to replace "en" with "zh-Hans".
i18n: {
defaultLocale: "en",
locales: ["en"],
locales: ["en", `zh`],
},

themes: ['solive-docusaurus-theme-code'],
Expand Down Expand Up @@ -115,6 +115,9 @@ const config = {
label: 'Playground',
position: 'left',
},
{
type: 'localeDropdown',
},
],
},
footer: {
Expand Down

2 comments on commit c41b0d3

@vercel
Copy link

@vercel vercel bot commented on c41b0d3 May 3, 2023

Choose a reason for hiding this comment

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

@vercel
Copy link

@vercel vercel bot commented on c41b0d3 May 3, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.