From ac6ccb455969852e71a50d79cde32088832e47b4 Mon Sep 17 00:00:00 2001 From: Emre Guneyler Date: Sun, 11 Dec 2022 13:37:21 +0300 Subject: [PATCH] translate --- TRANSLATE.md | 12 ++++++++++++ src/howtos.ts | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 TRANSLATE.md diff --git a/TRANSLATE.md b/TRANSLATE.md new file mode 100644 index 0000000..9047c83 --- /dev/null +++ b/TRANSLATE.md @@ -0,0 +1,12 @@ +## Contribute Translate + +Translations are stored in [content/trans](content/trans). With the format + +``` +key=value +``` +key shouldn't be changed, value should be translated. + +To add a new language, copy the english translations at [content/trans/en.trans](content/trans/en.trans) translate the values, and save the file as `language_code.trans`. + +Or change an existing translation file. diff --git a/src/howtos.ts b/src/howtos.ts index a5ea150..892caae 100644 --- a/src/howtos.ts +++ b/src/howtos.ts @@ -105,6 +105,8 @@ A fun way to pass time with 3 solitaire games. [Solitaire]"https://en.wikipedia. - Consider donating at [Patreon]"https://www.patreon.com/eguneys". - For business inquiries please contact me on twitter [@eguneys]"https://twitter.com/eguneys?lang=en". + +- Contribute translating at [Translation]"https://github.com/eguneys/solitaire23/TRANSLATE.md" ` export const howtos = {