Skip to content

Integrate language switcher #163

@philipbrembeck

Description

@philipbrembeck

Proposed changes

In the more tab, there should be an option to change the language.

Steps:

  • Create modal to switch languages
  • Reuse donation component for the options
  • Link to the options like so:
    <Link href="/more" locale="[desiredlocale]">
      Change to [desiredlocale]
     </Link>
  • Bring in styles with:
    className={router.locale === 'en' ? 'option active' : 'option'}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions