Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • concrexit concrexit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 70
    • Issues 70
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 10
    • Merge requests 10
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • thalia
  • concrexitconcrexit
  • Merge requests
  • !744

Merged
Created Mar 07, 2018 by Gijs Hendriksen@ghendriksenContributor

Save Accept-Language in the push notification Devices

  • Overview 6
  • Commits 2
  • Changes 3

This saves the the language of a push notification device by using the Accept-Language header sent with an api call to /api/v1/devices/.

This way, any device that registers for push notifications can immediately communicate their preferred language. If the preferred language is not available, it will fall back to English.

See also:
https://gitlab.science.ru.nl/thalia/ThaliApp/issues/52
!620 (merged)

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: feature/save-language-in-push-notification-api