Announcement

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

    MultiFileItem translation

    Hello,
    I'm using SmartGWT 3.1p of 12/25/2012 (v8.3p_2012-12-25/PowerEdition Deployment).
    My application is running with pt_BR as the default language, in .gwt.xml I put:
    Code:
    	<extend-property name="locale" values="pt_BR" />
    	<set-property-fallback name="locale" value="pt_BR" /
    I have a form with a MultiFileItem and the buttons for adding and removing files are in english (Add File, Remove selected files,...). The popup windows that appears when attaching files is not translated too (Add another file).
    Is there a way to translate these controls, or a least to change the title programmatically?
    Last edited by basis.cedric; 26 Dec 2012, 04:49. Reason: typo in title

    #2
    Looks like these strings are not currently configurable via a simple API.
    We'll take a look at adding support for this, and update this thread once we have a way to customize / localize the messages.

    Comment


      #3
      Hello,
      Any progress on this?
      Thanks,
      Cédric.

      Comment


        #4
        Hello
        We have made some changes which should resolve this in the 3.1p and 4.0d branch
        Please try the next nightly build (dated Jan 15 or greater).

        The new properties on the MultiFileItem class are
        - editButtonPrompt ("Add files"),
        - removeButtonPrompt ("Remove selected files"),
        - pickerUploadButtonInitialTitle ("OK"),
        - pickerUploadButtonTitle ("Save"),
        - pickerCancelButtonTitle ("Cancel"),
        - pickerAddAnotherFileButtonTitle ("Add another")
        - pickerUploadProgressLabel ("Saving <someFileName> <someFileSize>").

        Comment

        Working...
        X