Skip to content

Commit

Permalink
add i18n button
Browse files Browse the repository at this point in the history
(cherry picked from commit c41b0d3)
  • Loading branch information
AmazingAng authored and chongqiangchen committed May 14, 2023
1 parent 11ce52c commit c439174
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

0 comments on commit c439174

Please sign in to comment.