Install dependencies:
npm run installnpm run devThis will create the dist/ directory for publishing to static hosting:
npm run generateTo preview the static generated app, run npm run start
We are looking for translators to help us with translations of Docs. docs.hoppscotch is built with nuxt-content. For detailed explanation on how things work, checkout nuxt/content and @nuxt/content theme docs.
-
Follow the Setup Guide
-
To add your language to the dropdown menu, go to
nuxt.config.js, add code,iso,file and name of the language.{ code: 'fr', iso: 'fr-FR', file: 'fr-FR.js', name: 'Français' } -
To add translated content, navigate to
\content, add a folder with language code as the name and add.mdfiles.content | |- en | |- article.md |- fr |-article.md <----translated
-
Make sure that the file names for translated content are the same as that of the english document.
-
Add screenshots to
\static\Resources\<your lang>\or re-use screenshots of the english version.