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

Fall back to "en" locale for "en-GB" #907

Merged
merged 1 commit into from
Feb 22, 2017
Merged

Conversation

tijmenb
Copy link
Contributor

@tijmenb tijmenb commented Feb 22, 2017

Smart answers uses a "en-GB" locale, but we don't have that in this app. This causes a lot of 404's to be returned and missing translations in smart answers (presumably).

Kibana reports about 3.3 million 404 on this route over the last 24 hours:

screen shot 2017-02-22 at 12 02 16

This is also caused by smart-answers cache being broken, which is fixed in alphagov/slimmer#183.

https://trello.com/c/D9HmkJwI

Smart answers uses a "en-GB" locale, but we don't have
that in the app. This causes a lot of 404's to be returned
and missing translations in smart answers (presumably).
@mcgoooo
Copy link
Contributor

mcgoooo commented Feb 22, 2017

looks good 🚢 :shipit:

@fofr
Copy link
Contributor

fofr commented Feb 22, 2017

Should smart answers use en? Or is en-GB correct?

Copy link
Contributor

@fofr fofr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent sleuthing! 👍

@tijmenb tijmenb merged commit 5a3a0d8 into master Feb 22, 2017
@tijmenb tijmenb deleted the respond-to-en-gb-locales branch February 22, 2017 12:41
@tijmenb
Copy link
Contributor Author

tijmenb commented Feb 22, 2017

@fofr I've added an issue here: alphagov/smart-answers#2925

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.

3 participants