Have 2 radio buttons, "US" and "EU", and default to the locale. If they want to use the other one, they click the appropriate button.
Edward W. Rouse -----Original Message----- From: Daniil Sosonkin [mailto:dan...@orbisfn.com] Sent: Tuesday, November 02, 2010 3:44 PM To: stripes-users@lists.sourceforge.net Subject: [Stripes-users] i18n question I decided to ask this question in this group since it is quite international and chances of someone encountering the dilemma is higher than other places. Its not really a bug or stripes related, but more of a Java conundrum. We have client from Europe and USA trading on the same platform. In US, decimal separator is a dot (.) while in EU its a comma (,). So buying stock in US one would enter price as 4.01 and in EU it would be 4,01. Assuming that the user is set to a proper Locale, the above mentioned works fine. The problem is when EU client tries to use US notation while under EU Locale, then 4.01 would be parsed as 401.0 - that's a problem since a lot of EU brokers are thinking in US notation. Has anyone come across this dilemma? And if yes, any hints on how to overcome it??? Thanks ---------------------------------------------------------------------------- -- Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users ------------------------------------------------------------------------------ Achieve Improved Network Security with IP and DNS Reputation. Defend against bad network traffic, including botnets, malware, phishing sites, and compromised hosts - saving your company time, money, and embarrassment. Learn More! http://p.sf.net/sfu/hpdev2dev-nov _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users