From 9445b23ca3c6bcfe68024fd4f144311f40bd2898 Mon Sep 17 00:00:00 2001 From: Lucas Dower <43851835+LucasDower@users.noreply.github.com> Date: Mon, 10 Apr 2023 20:01:47 +0100 Subject: [PATCH] Update README.md --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 315c56e..a7a320d 100644 --- a/README.md +++ b/README.md @@ -60,6 +60,9 @@ Currently there's not much docs but if you're looking for where to get started, If you have any questions or need help getting started then feel free to join the [Discord](https://discord.gg/McS2VrBZPD) or message me **SinJi#4165**. +#### Translations +Translations files are stored in `/loc/`. To add a new language, duplicate the `en_GB.ts` file, rename it to the language code you are adding. The `en-GB.ts` file is the main language file. All the possible translation keys that you can override exist in `en-GB.ts`. Your translation file does not need to override every key, missing translations will fallback to the British English translation. Translation files are checked at compile-time for invalid keys. Once your translation file is complete, modify `/loc/base.ts` to include your new language. And that's it! Visit the [i18next](https://www.i18next.com/) documentation if your language requires special attention such as plurals or visit the Discord for help or if the current implementation isn't sufficient for your language. + ## Gallery

Gallery1