Skip to content
Snippets Groups Projects
Select Git revision
  • 9ff1b33302b1c9feff7b502aef1d175c43fb45ae
  • main default protected
  • renovate/lock-file-maintenance
  • demo protected
  • person-select-custom
  • dbp-translation-component
  • icon-set-mapping
  • port-i18next-parser
  • remove-sentry
  • favorites-and-recent-files
  • revert-6c632dc6
  • lit2
  • advertisement
  • wc-part
  • automagic
  • publish
  • wip-cleanup
  • demo-file-handling
18 results

language-select

Christoph Reiter's avatar
Reiter, Christoph authored
This duplicates the language switcher on the tugraz.at site.

Compared to the previous implementation we now show the next language
and use the translations for the next language, so that users only knowing
english can understand it.

In case of more languages we just cycle through them, which isn't ideal but
good enough for now.
9ff1b333
History

VPU Language Select Web Component

GitLab Repository

Local development

# get the source
git clone git@gitlab.tugraz.at:VPU/WebComponents/LanguageSelect.git
cd LanguageSelect
git submodule update --init

# install dependencies (make sure you have npm version 4+ installed, so symlinks to the git submodules are created automatically)
npm install

# constantly build dist/bundle.js and run a local web-server on port 8002 
npm run watch-local

# run tests
npm test