Skip to content

Fix page endings for language translation

Cee Nell requested to merge lang-dropdown into main

To test, build the site locally and try to navigate to all of these pages:

vulnerability-indicators/

vulnerability-indicators/index.html

vulnerability-indicators/en

vulnerability-indicators/es

vulnerability-indicators/en/index.html

vulnerability-indicators/es/index.html

Expectation:

they all take you to the same page, which is the vulnerabilities site translated into your preferred language (based on browser settings).

Comment with what the url looks like when you navigate to vulnerability-indicators/ and vulnerability-indicators/index.html. I'm curious if it's adding "en" when an English browser navigates to it

Merge request reports

Loading