Re: [Stripes-users] i18n question
Thanks - I think this is a perfect solution for this particular situation. Not a general solution for entering numbers via a website, but perfect for me. Good suggestion. On 11/2/2010 4:00 PM, gshegosh wrote: W dniu 02.11.2010 20:43, Daniil Sosonkin pisze: Has anyone come across this dilemma? And if yes, any hints on how to overcome it??? Probably not perfect, but we remove all ,s and .s except the last one. -- 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 -- The Next 800 Companies to Lead America's Growth: New Video Whitepaper David G. Thomson, author of the best-selling book "Blueprint to a Billion" shares his insights and actions to help propel your business during the next growth cycle. Listen Now! http://p.sf.net/sfu/SAP-dev2dev___ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users
Re: [Stripes-users] i18n question
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
Re: [Stripes-users] i18n question
Make a text representation and confirmation? Den 02/11/2010 21.02 skrev "gshegosh" : W dniu 02.11.2010 20:43, Daniil Sosonkin pisze: > > Has anyone come across this dilemma? And if yes, any hints on how to > overcome it??? Probably not perfect, but we remove all ,s and .s except the last one. -- Nokia and AT&T pres... -- 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
Re: [Stripes-users] i18n question
W dniu 02.11.2010 20:43, Daniil Sosonkin pisze: > > Has anyone come across this dilemma? And if yes, any hints on how to > overcome it??? Probably not perfect, but we remove all ,s and .s except the last one. -- 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