Skip to content

Commit

Permalink
Update multilingual-websites.en.md
Browse files Browse the repository at this point in the history
  • Loading branch information
netzarbeiter authored Sep 23, 2024
1 parent 3546554 commit 5405f6f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions docs/manual/site-structure/multilingual-websites.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ The check is carried out from the most specific case, in which both the domain a
Let's assume you have two domains, one business and one private:
- `www.company.com`
- `www.private.com`
- `www.example.com`
- `www.example.org`

The business side is bilingual, so you need a total of three website roots:

Expand All @@ -74,20 +74,20 @@ The business side is bilingual, so you need a total of three website roots:
| ---- | ----------- | -------- | ----------------- |
| Company German | - | en | - |
| Company English | - | en | yes |
| Private | private.com | en | yes |
| Private | example.org | en | yes |

Depending on the accessed domain and the defined language in the browser, visitors will be redirected as follows:

**Forwarding of visitors to the different website roots**

| Domain | Browser language | Target | Matching |
| ------ | ---------------- | --------- | ---------- |
| www.company.com | German | Company German | Language |
| www.company.com | English | Company English | language |
| www.company.com | Spanish | Company English | - |
| www.private.com | (any) | Private | Domain |
| www.example.com | German | Company German | Language |
| www.example.com | English | Company English | language |
| www.example.com | Spanish | Company English | - |
| www.example.org | (any) | Private | Domain |

The first three cases all lead to the company page, even if the domain `company.com` is not explicitly stored in the DNS settings. This is not necessary at all, because the company page is in this case the starting page for unknown domains.
The first three cases all lead to the company page, even if the domain `example.com` is not explicitly stored in the DNS settings. This is not necessary at all, because the company page is in this case the starting page for unknown domains.

The first two cases could be clearly assigned to a website root based on the browser language, only in the third case the language fallback page had to be loaded. The third case is therefore the most general case, which catches all requests that cannot be uniquely assigned.

Expand Down

0 comments on commit 5405f6f

Please sign in to comment.