From 24eb181d6de8c5f05b6dc862f0c09fa9f1d89242 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joaqu=C3=ADn=20S=C3=A1nchez?= Date: Wed, 15 Feb 2023 20:17:48 +0100 Subject: [PATCH] docs(i18n): include translation status in contributing guide (#1734) Co-authored-by: Michel EDIGHOFFER --- CONTRIBUTING.md | 9 ++++++++- docs/components/global/TranslationState.vue | 5 +++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 72d04784..7ca369c9 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -89,7 +89,14 @@ We've added some `UnoCSS` utilities styles to help you with that: ## Internationalization -We are using [vue-i18n](https://vue-i18n.intlify.dev/) via [nuxt-i18n](https://i18n.nuxtjs.org/) to handle internationalization. +We are using [vue-i18n](https://vue-i18n.intlify.dev/) via [nuxt-i18n](https://v8.i18n.nuxtjs.org/) to handle internationalization. + +You can check current [translation status](https://docs.elk.zone/docs/guide/contributing#translation-status): more instructions on table caption. + +If you are updating a translation in your local environment, you can run the following commands to check the status: +- from root folder: `nr prepare-translation-status` +- change to `docs` folder and run docs dev server `nr dev` +- open `http://localhost:3000/docs/guide/contributing#translation-status` in your browser ### Adding a new language diff --git a/docs/components/global/TranslationState.vue b/docs/components/global/TranslationState.vue index 7df72efd..55ae0cba 100644 --- a/docs/components/global/TranslationState.vue +++ b/docs/components/global/TranslationState.vue @@ -78,11 +78,15 @@ const copyToClipboard = async () => {
If you want to send a PR, click on Edit link on the corresponding translation file, it will open Codeflow: read the following guide + + +
@@ -239,6 +243,7 @@ tr.expandable, tr.expandable td { } a.codeflow, +a.inline, td.expandable div { display: flex; align-items: center;