Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

API Problem translation based on Accept-Language? #40

Open
twmobius opened this issue Mar 30, 2016 · 1 comment
Open

API Problem translation based on Accept-Language? #40

twmobius opened this issue Mar 30, 2016 · 1 comment

Comments

@twmobius
Copy link

I was wondering, would it make sense for apigiliy and api-problem in general to support a translator service, so as to translate all messages in the ApiProblem response based on the Accept-Language HTTP header?

This way in theory a multilingual rest client could get different error messages per language set in the request.

What do you think is the best way to go about it?

@weierophinney
Copy link
Member

This repository has been closed and moved to laminas-api-tools/api-tools-api-problem; a new issue has been opened at laminas-api-tools/api-tools-api-problem#3.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants