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

Update translation doc #462

Merged
merged 5 commits into from
Jun 11, 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
12 changes: 6 additions & 6 deletions docs/TranslationGuide.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,13 +209,13 @@ and append the new two-letter language code of the new language.

### zonemaster.conf-example

In the Apache example configuration add a rewrite rule to redirect the
user to the new language:
In the Apache example configuration, `zonemaster.conf-example`, update the rewrite
rules and conditions to add the new language.

```apache
RewriteCond %{HTTP:Accept-Language} ^<LANG> [NC]
RewriteRule ^$ /<LANG>/ [R,L]
```
Identify the three places in `zonemaster.conf-example` where there is a list of
language codes. Currently you will find `da|en|es|fi|fr|nb|sv`. Add the two-letter
code of the new language following the same pattern. Preserve the alphabetical order
of the language codes.

### Configuration

Expand Down
Loading