Skip to content

Commit

Permalink
translate
Browse files Browse the repository at this point in the history
  • Loading branch information
eguneys committed Dec 11, 2022
1 parent 9248bf8 commit ac6ccb4
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
12 changes: 12 additions & 0 deletions TRANSLATE.md
Original file line number Diff line number Diff line change
@@ -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.
2 changes: 2 additions & 0 deletions src/howtos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit ac6ccb4

Please sign in to comment.