Update translation guide to include more detail
ci/woodpecker/push/woodpecker Pipeline was successful Details

Signed-off-by: Skylar "The Cobra" Widulski <cobra@vern.cc>
This commit is contained in:
Skylar "The Cobra" Widulski 2024-01-24 08:28:19 -05:00
parent 8b74d22509
commit 21a52ee270
Signed by: cobra
GPG Key ID: 4FD8F812083FF6F9
1 changed files with 5 additions and 4 deletions

View File

@ -11,14 +11,15 @@ To start a version locally, you can use https://github.com/danvk/ssi-server or n
You want to help ~vern and are fluent in English and another language? Great!
Follow these steps to start translating our website. For finer details, check out the existing pt-BR translation.
Follow these steps to start translating our website. For finer details, check out the existing por-BR translation. We will call your language code `xxx`, though if there are dialects that are substantially different, use `xxx-YY`, where `xxx` is the three-letter ISO 639-3 code, and `YY` is the ISO 3166-2 code for the country in which the dialect is spoken.
1. Sign in (Preferrably with ~vern, if you have an account, but Codeberg OAuth2 is fine)
2. Fork this repo
3. Copy en/ to the code of whatever language you want to translate it into (we'll call it xxx from now on)
3. Copy eng/ to xxx/
4. Remove xxx/translations.php
5. Translate! (but not xxx/tos.html, xxx/privpol.html, xxx/p/list.php, or anything that isn't shown to the user (i.e. E-mails sent to admins))
6. Create xxx/tl-notice.html that looks something like this, but in your language:
5. Translate! (but not xxx/tos.html, xxx/privpol.html, xxx/p/list.php, or anything that isn't shown to the user (e.g. E-mails sent to admins))
6. Create xxx/tl-notice.html that contains the following text, but translate it into your language:
```html
<h1>Translation notice</h1>
<p>The following document is written in english because of ~vern's geographical jurisdiction. Taking into account that all our servers are in the USA or Canada, the following text couldn't be translated. Currently, our translators can't find a viable way of translating the document whilst keeping the same legal meaning. If you have any suggestions, contact an <a href="/xxx/admins">admin</a>.</p>