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

i18n: parse accept-language header for the base language #249

Merged
merged 1 commit into from
Oct 21, 2017

Conversation

emilburzo
Copy link
Contributor

@emilburzo emilburzo commented Oct 13, 2017

(fixes #248)

I've opted to use an existing library so as not to re-invent the wheel.

I'm pretty new to Golang, so any structure/logic/style feedback is welcome! :)

@emilburzo emilburzo force-pushed the master branch 3 times, most recently from 4d1a389 to 366fe70 Compare October 13, 2017 19:52
@fiorix fiorix merged commit dd528af into fiorix:master Oct 21, 2017
@fiorix
Copy link
Owner

fiorix commented Oct 21, 2017

Hey this looks pretty good. Thank you 👍

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.

localisation doesn't work for all Accept-language header types
2 participants