Thanks for helping translate. It's a big job. Your part should be fairly simple though. All you'll need to do is generate a new strings file, or update an existing one.
- Copy
en.yml
to a new file in thelocales
directory named after the language.- Use the two-letter ISO_639-1 code.
- The extension must be
.yml
; for examplede.yml
.
- Change the toplevel key from
:en
to the language code as a symbol.- For example,
:de
or:es
.
- For example,
- Translate each value without changing the file structure.
- Quotes around the string are not necessary unless it contains a special character, such as
:
- Quotes around the string are not necessary unless it contains a special character, such as
- Submit a PR with your new language!
It might be easiest to just do this in the GitHub UI if you don't already have your own fork & clone of the project.
Copying a file isn't very straightforward in the web UI. Instead, you'll need to copy the file contents to your clipboard, then create a new file and paste it back in. Nevertheless, once the file's created, it's quite easy to update this way.