summaryrefslogtreecommitdiff
path: root/docs/src
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src')
-rw-r--r--docs/src/components/Header/LanguageSelect.tsx5
-rw-r--r--docs/src/pages/index.astro2
2 files changed, 5 insertions, 2 deletions
diff --git a/docs/src/components/Header/LanguageSelect.tsx b/docs/src/components/Header/LanguageSelect.tsx
index 89cd29ed5..4eb80c2ad 100644
--- a/docs/src/components/Header/LanguageSelect.tsx
+++ b/docs/src/components/Header/LanguageSelect.tsx
@@ -60,7 +60,10 @@ const SelectLanguage: FunctionalComponent<{}> = ({}) => {
<span>English</span>
</option>
<option value="nl">
- <span>Dutch</span>
+ <span>Nederlands</span>
+ </option>
+ <option value="fi">
+ <span>Suomi</span>
</option>
</select>
</div>
diff --git a/docs/src/pages/index.astro b/docs/src/pages/index.astro
index b462cacf9..eafd01f46 100644
--- a/docs/src/pages/index.astro
+++ b/docs/src/pages/index.astro
@@ -6,7 +6,7 @@ import Layout from '../layouts/MainLayout.astro';
// This is some wip redirect code 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 = ['en', 'nl'];
+ const KNOWN_LANGUAGES = ['en', 'nl', 'fi'];
let newLang = (window.navigator.userLanguage || window.navigator.language || 'en').substr(0, 2);
if (newLang === 'en') {
window.location.pathname = '/getting-started';