Standard for specifying web service language / culture?

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,233
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top