diff --git a/packages/core/docs/guides/multilanguage-support.md b/packages/core/docs/guides/multilanguage-support.md index bbf6f7a1b..08b75a3d6 100644 --- a/packages/core/docs/guides/multilanguage-support.md +++ b/packages/core/docs/guides/multilanguage-support.md @@ -20,7 +20,7 @@ ## How to use -- Language files are located in locale folder [here](https://github.com/near/wallet-selector/tree/main/packages/core/src/lib/locale) +- Language files are located in locale folder [here](../../src/lib/locale) - In order for text to be translated `translate` function should be used as in example below - Can be extended when needed following `packageName.section.translationKey`structure @@ -55,7 +55,7 @@ ## Adding new language -- Language files are located in locale folder [here](https://github.com/near/wallet-selector/tree/main/packages/core/src/lib/locale) +- Language files are located in locale folder [here](../../src/lib/locale) - Files are named after ISO 639-1: two-letter language code - Keys are named in camelCase as the beginning of the string always in English, with the following pattern used : @@ -69,7 +69,7 @@ } ``` -- When new language is introduced it must be added to [translate.ts](https://github.com/near/wallet-selector/tree/main/packages/core/src/lib/translate/translate.ts) file. +- When new language is introduced it must be added to [translate.ts](../../src/lib/translate/translate.ts) file. ```ts import en from "../locale/en.json";