Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • H Helpful Contact Form
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 10
    • Issues 10
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 2
    • Merge requests 2
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • GreenhostGreenhost
  • Helpful Contact Form
  • Issues
  • #24
Closed
Open
Issue created Apr 28, 2021 by Arie Peterson@arieContributor

Only show locale switcher in dev mode

In production mode, at least when including the form in the greenhost.net website, the locale switcher should not be present.

Note that – with or without the locale switcher – the default locale is already determined from the lang attribute of the mounting html element, so setting that in the including website page should make sure that the form locale matches the one from the including page.

Assignee
Assign to
Time tracking