Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add info for additional languages to customizing documentation #1323

Merged
merged 2 commits into from
Mar 12, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 20 additions & 1 deletion documentation/Customize.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,27 @@ adding the above files.

You need to translate all the strings in `main.po`.

To add a new meny entry for the new language:
* add the language to `internet.nl/settings.py`
* update `webserver/nginx_templates/app.conf.template` to include the language
* update `docker/webserver/certbot.sh` to request LE certs for the new subdomain

This presumes you
have the corresponding DNS entries already created, such as

```
[lang].example.nl
[lang].fr.ipv6.example.nl
[lang].conn.example.nl
[lang].conn.ipv6.example.nl
```

where [lang] is the 2 letter ISO 639-1 language code.

Then, update the site using the procedure in [documentation/Docker-forked.md](Docker-forked.md) to rebuild the front accordingly.

For `news.po` you can provide your own news/blogs but you need to follow the
existing conventions.
existing conventions. (**FIXME**: this needs further clarification)


## Scores
Expand Down
Loading