Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    NumberFormat pattern issue in multiple language

    Hi ,

    We are using GWT 2.5.1 and Smart Gwt-4.1p (29th Oct 2014)
    We have an issue regarding “NumberFormat” supports for multiple language.
    Please refer the following below URL : - http://samples.gwtproject.org/samples/Showcase/Showcase.html?locale=en_GB#!CwNumberFormat
    As per required pattern we’ll be not getting value.
    For example at top right side you will get drop down, which are having multiple languages.
    Select “British English” (en) and you may see the below. It’s formatting the value in defined pattern.
    But if you select the “France” (fr) locale. Then it won’t displaying properly formatted value, the dot (.) is replaced with comma (,).

    Please let us know if you have any solution.

    Thanks,
    Gaurav

    #2
    This seems correct to me. See http://en.wikipedia.org/wiki/Decimal...xamples_of_use and http://www.gwtproject.org/javadoc/la...berFormat.html.

    The dot in the pattern is localized to "." in English and "," in French.

    Best regards,
    Blama

    Comment


      #3
      Hi Blama,
      Thanks for your reply.
      Would you please let me know? If there is any API or method are available
      In smartGWT for overriding “,” (comma) with “.” (Dot).
      So it would be helpful for us.

      Comment


        #4
        Hi vnathank,

        how about not compiling language-agnostic permutations for French? But it won't be localized then. Besides of that you'll have to stick to GWT options - I don't think it is SmartGWT related.

        Best regards,
        Blama

        Comment

        Working...
        X