Skip to content

add language detction/swapping mechanism #515

@struan

Description

@struan

We need a way for user's to switch to, in this case, Welsh from English. Our other sites to this using a subdomain so that should be fine in this case.

So this should:

  • detect if we are using cy.wtt as a subdomain
  • if so set the locale accordingly

I don't think we need to persist this between visits, especially as initially repeat visits will be from links in emails where this should persist.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions