Skip to content

Language overlay modal #3064

Ben requested to merge feat/language-overlay-modal-3064 into master

Closes #3064 (closed) & #3065 (closed)

Depends on engine!562 (merged)

Summary

Adds in language bar to footer.

Steps to test

  1. Go to home page logged out.
  2. Look at the footer.
  3. Change languages.
  4. Click the (+) button and look for more languages.

Estimated Regression Scope

Mostly new features should be behind a feature flag; I don't think any of the CSS changes outside of the feat flag have a breaking effect but that's one area that could potentially seep through.

Integration

As @eiennohi is working on a service to handle all of this, I've used two language arrays, identical, in the two files that need it, with a list of filler languages - Note, these languages are not all ones that we are going to support - we must have a proper list for this.

In terms of tying it in, it should just be a case of getting rid of the language arrays in favour of one held in the service, and updating a value in the service rather than the observable, plugging it into the template etc.

In the service, we could also consider having a utility function that will return the list WITHOUT the currently selected option.

Edited by Ben

Merge request reports