Skip to content

Commit

Permalink
Update selectable languages (#1011)
Browse files Browse the repository at this point in the history
  • Loading branch information
evroon authored Nov 15, 2024
1 parent 8fd8e02 commit 45b3f95
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions frontend/src/components/forms/user.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,17 @@ export default function UserForm({ user, t, i18n }: { user: UserInterface; t: an
});

const locales = [
{ value: 'de', label: '๐Ÿ‡ฉ๐Ÿ‡ช German' },
{ value: 'zh', label: '๐Ÿ‡จ๐Ÿ‡ณ Chinese' },
{ value: 'nl', label: '๐Ÿ‡ณ๐Ÿ‡ฑ Dutch' },
{ value: 'en', label: '๐Ÿ‡บ๐Ÿ‡ธ English' },
{ value: 'fr', label: '๐Ÿ‡ซ๐Ÿ‡ท French' },
{ value: 'de', label: '๐Ÿ‡ฉ๐Ÿ‡ช German' },
{ value: 'el', label: '๐Ÿ‡ฌ๐Ÿ‡ท Greek' },
{ value: 'it', label: '๐Ÿ‡ฎ๐Ÿ‡น Italian' },
{ value: 'ja', label: '๐Ÿ‡ฏ๐Ÿ‡ต Japanese' },
{ value: 'pt', label: '๐Ÿ‡ต๐Ÿ‡น Portuguese' },
{ value: 'es', label: '๐Ÿ‡ช๐Ÿ‡ธ Spanish' },
{ value: 'nl', label: '๐Ÿ‡ณ๐Ÿ‡ฑ Dutch' },
{ value: 'zh', label: '๐Ÿ‡จ๐Ÿ‡ณ Chinese' },
{ value: 'se', label: '๐Ÿ‡ธ๐Ÿ‡ช Swedish' },
];

const changeLanguage = (newLocale: string | null) => {
Expand Down

0 comments on commit 45b3f95

Please sign in to comment.