B
BigDave
Hi all,
Is there a web service standard allowing clients to specify the
language for text in the web service response?
We plan to provide English or Spanish responses. Unless I hear of a
standard, I plan to simply take an input parameter, where the client
can specify the enumeration (restriction) value "en" (English) or "es"
(Spanish).
In my research, I found that the web service can look at
Request.UserLanguages[0]. However, I believe this is an HTTP-only
standard (which isn't a big deal, as I'm sure we'll never use a
different transport). But also, what if the client itself (say,
another web service) has clients who may want English or Spanish? It
seems it would be easier to set an input parameter rather than learning
learning how to set the UserLanguage of their HTTP request.
Any insights would be much appreciated. Thanks,
Dave
Is there a web service standard allowing clients to specify the
language for text in the web service response?
We plan to provide English or Spanish responses. Unless I hear of a
standard, I plan to simply take an input parameter, where the client
can specify the enumeration (restriction) value "en" (English) or "es"
(Spanish).
In my research, I found that the web service can look at
Request.UserLanguages[0]. However, I believe this is an HTTP-only
standard (which isn't a big deal, as I'm sure we'll never use a
different transport). But also, what if the client itself (say,
another web service) has clients who may want English or Spanish? It
seems it would be easier to set an input parameter rather than learning
learning how to set the UserLanguage of their HTTP request.
Any insights would be much appreciated. Thanks,
Dave