Skip to content

Commit

Permalink
Merge pull request #195 from reslear/docs/contribute-license
Browse files Browse the repository at this point in the history
docs: add contribute new locale instruction
  • Loading branch information
dargmuesli authored Mar 21, 2024
2 parents 87e5bc9 + be93156 commit 19c3ce2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,15 @@ A complete contribution implements a feature or a bug fix and keeps all [automat
1. Make sure your contribution follows the contribution guidelines above
1. Create meaningful, well-separated and [well-named](https://commitlint.io/) commits
1. Create a pull request from your feature branch to the correct branch of this project

## Features

### Locales
To contribute new locales, please follow these instructions:

1. add a locale file like `src/runtime/locale/pl.ts`
2. import and export it in `src/runtime/locale/index.ts`
3. add it to the `Locale` type in `src/runtime/types.ts`
4. add it to the list of supported locales in the `README.md`

In general, please name all locales in accordance with the [ISO 639-1 standard](https://en.wikipedia.org/wiki/List_of_ISO_639_language_codes).

0 comments on commit 19c3ce2

Please sign in to comment.