Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SimpleFooter hardcodes links to English Medicare pages #3343

Open
2 tasks done
Josh68 opened this issue Dec 5, 2024 · 0 comments
Open
2 tasks done

SimpleFooter hardcodes links to English Medicare pages #3343

Josh68 opened this issue Dec 5, 2024 · 0 comments

Comments

@Josh68
Copy link
Contributor

Josh68 commented Dec 5, 2024

Describe the bug
It appears that many Medicare pages now use the subdomain es. for Spanish-language translations. All of the links in the SimpleFooter component are hardcoded to use the www. subdomain, so that no matter what values we set (query params in the URL, using setLanguage from CMSDS, or updating the html lang attribute), links go to English-only pages.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://www.medicare.gov/plan-compare/#/?lang=es (or, as we slowly migrate DS versions, you can also look at https://test.medicare.gov/plan-compare/preview/3351/#/?lang=es, as long as it's available). See Additional context, below.
  2. Click on any link in the footer
  3. The linked page is in English

Expected behavior
The linked page is in Spanish

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • N/A
  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • N/A
  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Source code indicates that these values are all still currently hardcoded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant