marsha icon indicating copy to clipboard operation
marsha copied to clipboard

Manage header Accept-language

Open lunika opened this issue 2 years ago • 1 comments

Feature Request

Is your feature request related to a problem or unsupported use case? Please describe.

Some part of the application is not translated in the user interface. This happen when the text is sent by the backend application, by default it uses english and if no header Accept-Language is set no translation is made

Describe the solution you'd like

Set in the request the header Accept-Language using the language used in the current session

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Language

lunika avatar Nov 29 '23 11:11 lunika

It should be done: https://github.com/openfun/marsha/pull/2394

Do you have a example of API call that doesn't translate ?

AntoLC avatar Nov 30 '23 08:11 AntoLC