2 Replies Latest reply on Feb 27, 2009 10:29 AM by (Pierre_Chamoun)

    Multilingual forms

    AmbikaM Level 1
      hi...
      can anybody provide me assistance in how to design multi-lingual form???

      thanks
      Ambika
        • 1. Re: Multilingual forms
          Hello Ambika,

          There are so many ways of doing that.

          Here is the way which i have implemented. It looks tedious but, works fine.

          -> Have a radiobutton or a dropdown on your pdf form.
          -> On the change event of that language selector write some javascript which changes the captions of your form elements.

          Here is one sample snippet:

          // Default the form to the language it was originally created in.
          if (_PAGE3.FORM_STATE_INFO.LanguageOfCreation.rawValue == "FRENCH") then
          Language = "FRENCH"
          Form._PAGE1.txtProfile.rawValue = "XYZ"
          Form._PAGE1.SummaryFields.Summary.caption.value.text.value = "Sommaire du bail"
          Form._PAGE1.InformationFields.CentreName.caption.value.text.value = "Nom du centre dachat"
          else
          Language = "ENGLISH"
          Form._PAGE1.txtProfile.rawValue = "ABC"
          Form._PAGE1.SummaryFields.Summary.caption.value.text.value = "Deal Summary"
          Form._PAGE1.InformationFields.CentreName.caption.value.text.value = "Mall/Center Name"

          endif

          Regards
          Deepak
          • 2. Re: Multilingual forms
            Level 1
            You can also do that using XML binding. You can load an XML based on the language you are using. This loaded XML can be merged with the form template