Skip to content

Commit 2cdb768

Browse files
authored
Add info for additional languages to customizing documentation (#1323)
Clarifications on adding a new language. Signed-off-by: Sasha Romijn <[email protected]>
1 parent d4403ed commit 2cdb768

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

documentation/Customize.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,27 @@ adding the above files.
1717

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

20+
To add a new meny entry for the new language:
21+
* add the language to `internet.nl/settings.py`
22+
* update `webserver/nginx_templates/app.conf.template` to include the language
23+
* update `docker/webserver/certbot.sh` to request LE certs for the new subdomain
24+
25+
This presumes you
26+
have the corresponding DNS entries already created, such as
27+
28+
```
29+
[lang].example.nl
30+
[lang].fr.ipv6.example.nl
31+
[lang].conn.example.nl
32+
[lang].conn.ipv6.example.nl
33+
```
34+
35+
where [lang] is the 2 letter ISO 639-1 language code.
36+
37+
Then, update the site using the procedure in [documentation/Docker-forked.md](Docker-forked.md) to rebuild the front accordingly.
38+
2039
For `news.po` you can provide your own news/blogs but you need to follow the
21-
existing conventions.
40+
existing conventions. (**FIXME**: this needs further clarification)
2241

2342

2443
## Scores

0 commit comments

Comments
 (0)