diff --git a/frontend/search/components/user/LanguageSelection.tsx b/frontend/search/components/user/LanguageSelection.tsx new file mode 100644 index 0000000..c258ed8 --- /dev/null +++ b/frontend/search/components/user/LanguageSelection.tsx @@ -0,0 +1,19 @@ +import i18next from 'i18next' +import '../../i18n/config' + + +export default () => { + const languages = [{id: 'de', name: 'Deutsch'}, {id: 'en', name: 'Englisch'}] + + return ( +
+ { languages.map( lang => ( + + + + ))} +
+ ) +}