WCF Web Service Internationalization NumberFormat and DateFormat -


i trying decide on correct way deal internationalization in wcf web service, pertaining numeric format , date format. service support multiple languages , cultures. question how should handle input , output serialization different date , number formats.

  1. for dates, thinking expect submitted , returned utc. me seems reasonable , developer in netherlands, should able deal format.

  2. my other concern numeric types, decimals. using xsd:decimal data type, uses "." character decimal separator. wondering if problem dutch developer use "," instead of "." decimal separator.

i not returning translated text, not concern. want make sure returning , accepting standard numeric , date format, right thing do. not international developer, having hard time putting myself in shoes.

any appreciated.

if possible, i'd make wcf service work value types (numerics & date/time) in culture agnostic manner. since xsd standard defines decimal using period character decimal separator, should responsibility of client software deserialize , apply culture specific formatting. same should apply date/time serialization except time should utc point out.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -