urbantrout / site-language-redirection

TYPO3 Site Language Redirection
9 stars 15 forks source link

Documentation/howto: Browser language (HTTP headers) fallback #7

Closed j-lang closed 4 years ago

j-lang commented 4 years ago

Can this extension handle language fallback or which configuration task are necessary to handle language fall-backs:

How are hreflang: en-* headers handled? How are other languages (IT, FR ... ) routed? What are necessary configuration task for a proper routing for different site languages and different source languages?

urbantrout commented 4 years ago

How are hreflang: en-* headers handled?

Here is an example on how the extensions detemines the site to redirect to: If Accept-Language is en-US,de-AT it looks for sites with an hreflang of en-US. If there is no match it then looks for en. If there is still no match it repeats the same logic with de-AT and so on.

urbantrout commented 4 years ago

Yes, I should add this to the README ;)