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

Support long locale in dynamic served js catalog #23006

Merged
merged 1 commit into from
Jan 22, 2025
Merged

Conversation

KevinMind
Copy link
Contributor

Fixes: mozilla/addons#15297

Description

Support long locale for serving dynamic i18n bundles

Context

This problem was pre-existing and only short locales were covered with tests.

It surfaced when we landed PR that redireected short locale to long locale default.

Testing

  • clean the ./static and ./site-static directories to ensure no compiled locales exist.

  • run dev mode "make up"

Ensure devhub loads and the locale file en-US.js is loaded 200.

Checklist

  • Add #ISSUENUM at the top of your PR to an existing open issue in the mozilla/addons repository.
  • Successfully verified the change locally.
  • The change is covered by automated tests, or otherwise indicated why doing so is unnecessary/impossible.
  • Add before and after screenshots (Only for changes that impact the UI).
  • Add or update relevant docs reflecting the changes made.

@KevinMind KevinMind requested review from a team and diox and removed request for a team January 22, 2025 10:03
src/olympia/urls.py Outdated Show resolved Hide resolved
@KevinMind KevinMind force-pushed the kevinmind/15297 branch 2 times, most recently from 3ff4dea to 13adf48 Compare January 22, 2025 12:22
@KevinMind KevinMind merged commit 0f9abc6 into master Jan 22, 2025
49 checks passed
@KevinMind KevinMind deleted the kevinmind/15297 branch January 22, 2025 13:47
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

Successfully merging this pull request may close these issues.

[Bug]: Dynamic JavascriptCatalog 404s on long locales
2 participants