Quantcast
Channel: SmartClient Forums
Viewing all articles
Browse latest Browse all 4756

Wrong decimal separator for pt_BR

$
0
0
SmartGWT Version:
SmartClient Version: v9.0p_2014-01-26/PowerEdition Deployment (built 2014-01-26)

Browsers:
Chrome 32.0.1700.107 m; IE 10.0.9200.16750; Firefox 27

Problem:
Decimal separator in FloatItem are using '.' (period) instead of ',' (comma) for pt_BR, for fieldType "float".

To reproduce put the code in .gwt.xml file.
Code:

  <extend-property name="locale" values="pt_BR"/>
  <set-property-fallback name="locale" value="pt_BR"/>

Also, the pt_BR locale is working fine for all messages, for example Listgrid "loading message" is showing the right one: "Carregando dados..." when in pt_BR.

Other locales are working right also, we tried the German locale and the FloatItem worked as expected (with comma).
Code:

    <extend-property name="locale" values="de"/>
    <set-property-fallback name="locale" value="de"/>


Viewing all articles
Browse latest Browse all 4756

Trending Articles