Open dsebastien opened 7 years ago
It can be done by adding a "lang=xx-XX" query parameter to the url. But I would not recommend this approach, using the Accept-Language in the header is the preferred way.
It could be added as an optional alternative. Can help for testing (simple url manipulation vs headers)
On Dec 9, 2016 3:03 PM, "Robby De Laet" notifications@github.com wrote:
It can be done by adding a "lang=xx-XX" query parameter to the url. But I would not recommend this approach, using the Accept-Language in the header is the preferred way.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/NationalBankBelgium/REST-API-Design-Guide/issues/5#issuecomment-266020918, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFfH4jb4lKdpf8UuMHyhOKuYqShJDeuks5rGV-5gaJpZM4LI86l .
You MAY also support the definition of multiple languages just like with the Accept-Language header.
Design for this approach?