From c083e004828263d2446e06dbdbfd5340a62456f1 Mon Sep 17 00:00:00 2001 From: Prince Anuragi Date: Sun, 4 Aug 2024 22:22:11 +0530 Subject: [PATCH] fix: add guideline on key addition (#79) --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 81df3d8..5ddc020 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,10 @@ - Translate all or keys which are required in file `translation.json` which should be inside `YOUR_LOCALE/translation.json` - Once done, commit you changes push to the branch and make a PR to `main` branch. +## Guidelines for creating new keys: +- Keys should be always lowercase and snake cased +- Keys should atmost have 4 words + ## Locales naming - You can take help and name folder as country code [link](https://www.w3.org/International/O-charset-lang.html)