Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions src/i18n/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,11 @@ import { register, init, getLocaleFromNavigator } from 'svelte-i18n';
// register them here and add an entry to AVAILABLE_LOCALES so the language
// picker in Settings → Appearance shows the new option.
register('en', () => import('./en.json'));
register('sv', () => import('./sv.json'));

export const AVAILABLE_LOCALES = [
{ code: 'en', label: 'English' },
{ code: 'sv', label: 'Svenska' },
];

export function initI18n(initialLocale) {
Expand Down
Loading