diff options
author | 2021-08-27 22:01:06 +0200 | |
---|---|---|
committer | 2021-08-27 16:01:06 -0400 | |
commit | 9823f16f5195c78c86b29c622ede5b385154e943 (patch) | |
tree | b84e27cb71c4973b56d3ff2328fa890e1c207dac /docs/src/pages/index.astro | |
parent | 210fdad42e93b03c4dac6c21a42dd8852c7b2a01 (diff) | |
download | astro-9823f16f5195c78c86b29c622ede5b385154e943.tar.gz astro-9823f16f5195c78c86b29c622ede5b385154e943.tar.zst astro-9823f16f5195c78c86b29c622ede5b385154e943.zip |
Add danish translation of the getting started page (#1243)
* Add danish translation of the getting started page
* Add danish to KNOWN_LANGUAGES
Diffstat (limited to 'docs/src/pages/index.astro')
-rw-r--r-- | docs/src/pages/index.astro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/src/pages/index.astro b/docs/src/pages/index.astro index ab67e2e1f..17abee994 100644 --- a/docs/src/pages/index.astro +++ b/docs/src/pages/index.astro @@ -6,7 +6,7 @@ import Layout from '../layouts/MainLayout.astro'; // WIP: trigger a client-side redirect based on the browser language. // A vercel.json redirect is enforced in production, so no user should ever see this page. // Remove the vercel.json redirect when this is ready. - const KNOWN_LANGUAGES = ['bg', 'de','en','es','fi','nl','pt-br','zh-CN','zh-TW', 'fr', 'kr']; + const KNOWN_LANGUAGES = ['bg', 'de','en','es','fi','nl','pt-br','zh-CN','zh-TW', 'fr', 'kr', 'da']; let newLangWithRegion = (window.navigator.userLanguage || window.navigator.language || 'en-US').substr(0, 5); let newLang = newLangWithRegion.substr(0, 2); if (newLang === 'en') { |