From b76eb46d86a03eedb01d66b4f1a7164c4e8fd154 Mon Sep 17 00:00:00 2001 From: Ased Mammad Date: Thu, 7 Mar 2024 13:20:00 +0330 Subject: [PATCH] docs: Update contributing.md --- docs/CONTRIBUTING.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md index b59c94243..369c44b6a 100644 --- a/docs/CONTRIBUTING.md +++ b/docs/CONTRIBUTING.md @@ -59,6 +59,7 @@ We use JSON files to store translations. You can find the existing translation f To add a new language: - Create a new directory in the `src/lib/i18n/locales` path with the appropriate language code as its name. For instance, if you're adding translations for Spanish, create a new directory named `es`. - Copy the English translation file(s) (from `en` directory in `src/lib/i18n/locale`) to this new directory and update the string values in JSON format according to your language. Make sure to preserve the structure of the JSON object. +- Add the language code and its respective title to languages file at `src/lib/i18n/locales/languages.json`. ### 🤔 Questions & Feedback