Currency sign picked up on client machine

Using Servoy to administrate the content of your website? Discuss all webrelated Servoy topics on this forum!

Currency sign picked up on client machine

Postby maria » Thu Jan 13, 2011 2:45 am

Hi guys,

I've got a format on my field displaying price - ¤#.00 - and I thought it would pick up the system currency sign from the server machine, whether it's a dollar sign or pound or whatever.
However, it's picking up the currency from the client machine.
Are there configuration settings that I could tweek?

Cheers,
Maria
maria
 
Posts: 424
Joined: Thu Apr 16, 2009 1:18 am
Location: Sydney

Re: Currency sign picked up on client machine

Postby jcompagner » Thu Jan 13, 2011 10:24 am

The locale of the smart client is used for that.
Currently we don't have a way to specify another currency then the locale of the user,
You could make a case so that we can support it through the formatter (so it is specific to the element using that format) or by setting the global default under the i18n node.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8828
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Currency sign picked up on client machine

Postby maria » Mon Jan 17, 2011 1:05 am

jcompagner wrote:The locale of the smart client is used for that.
Currently we don't have a way to specify another currency then the locale of the user,
You could make a case so that we can support it through the formatter (so it is specific to the element using that format) or by setting the global default under the i18n node.

It's webclient, Johan.
maria
 
Posts: 424
Joined: Thu Apr 16, 2009 1:18 am
Location: Sydney

Re: Currency sign picked up on client machine

Postby sbutler » Mon Jan 17, 2011 9:26 am

when using ¤ , it aways uses the locale of the client machine (even in web browser). If you want it to change by server type, then use an i18n key for it.
Scott Butler
iTech Professionals, Inc.
SAN Partner

Servoy Consulting & Development
Servoy University- Training Videos
Servoy Components- Plugins, Beans, and Web Components
Servoy Guy- Tips & Resources
ServoyForge- Open Source Components
User avatar
sbutler
Servoy Expert
 
Posts: 759
Joined: Sun Jan 08, 2006 7:15 am
Location: Cincinnati, OH

Re: Currency sign picked up on client machine

Postby maria » Wed Jan 19, 2011 12:52 am

goldcougar wrote:when using ¤ , it aways uses the locale of the client machine (even in web browser). If you want it to change by server type, then use an i18n key for it.


Thanks Scott. Will do.
maria
 
Posts: 424
Joined: Thu Apr 16, 2009 1:18 am
Location: Sydney


Return to Web Development

Who is online

Users browsing this forum: No registered users and 3 guests