Skip to content

Commit

Permalink
Add framework for French language
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Sep 21, 2024
1 parent 5735de1 commit 40010fd
Show file tree
Hide file tree
Showing 47 changed files with 5,411 additions and 0 deletions.
13 changes: 13 additions & 0 deletions website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,15 @@ module.exports = {
image: 'img/eth-moby-logo.png',
},
scripts: ['https://buttons.github.io/buttons.js'],
i18n: {
defaultLocale: 'en',
locales: ['en', 'fr'],
localeConfigs: {
en: {
htmlLang: 'en-GB',
},
},
},
themeConfig: {
docs: {
sidebar: {
Expand All @@ -30,6 +39,10 @@ module.exports = {
href: '/',
label: 'Get Started',
position: 'right',
},
{
type: 'localeDropdown',
position: 'left',
}
],
},
Expand Down
440 changes: 440 additions & 0 deletions website/i18n/fr/code.json

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions website/i18n/fr/docusaurus-plugin-content-blog/options.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"title": {
"message": "Blog",
"description": "The title for the blog used in SEO"
},
"description": {
"message": "Blog",
"description": "The description for the blog used in SEO"
},
"sidebar.title": {
"message": "Recent posts",
"description": "The label for the left sidebar"
}
}
18 changes: 18 additions & 0 deletions website/i18n/fr/docusaurus-plugin-content-docs/current.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"version.label": {
"message": "Next",
"description": "The label for version current"
},
"sidebar.docs.category.About": {
"message": "About",
"description": "The label for category About in sidebar docs"
},
"sidebar.docs.category.Usage": {
"message": "Usage",
"description": "The label for category Usage in sidebar docs"
},
"sidebar.docs.category.Support": {
"message": "Support",
"description": "The label for category Support in sidebar docs"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
id: Acknowledgements
title: Acknowledgements
sidebar_label: Acknowledgements
---

Parts of this guide are based on the Linux [guides](https://medium.com/@SomerEsat) written by [Somer Esat](https://twitter.com/SomerEsat).

Without their previous work, this project would not exist.
Loading

0 comments on commit 40010fd

Please sign in to comment.