Show adobe form in different languages

Hi all,
I have a Web Dynpro Application which holds an Interactive Form. This form is translated into several languages.
Is there any way to indicate the WDA application which language has to use to open the Adobe Form?
The user would have the option to choose the language first.
I know we can do this by changing the whole WDA application language, but I do not like this because I want to keep application in user language.
Thank you very much.
Nacho.

I have not tried this at my end but see if it gives you some direction.
For Eg: I am assuming you have a WD application and a form embedded in it with Two fields say TextField1 and DateTimeField1
1. Instead of using Default Locale, choose Viewers System Locale for the top level subform. This will ensure the data is displayed as per the locale of the user.
This will only give the values as per Viewer locale, however the Caption still will show as default one. To dynamically change the caption as per the langauge ie. it should be Date in English and Datei German follow below steps.
2. Goto Tools -> Options -> Data Binding -> Enable the Show Dynamic Properties checkbox. This will ensure that the Caption property of the form fields can be binded to a context.
3. Provide a drop-down in your WD application outside the form and maintain list of all texts.
4. Create the necessary contexts such as TextFieldCaption, DateTimeFieldCaption in your WD and now set the values accordingly.
Here is pseudo code in JAVA, you can write the same in ABAP in WD
if(drop-down value == "EN")
  wdContext.currentContextElement.setTextFieldCaption("Hello");
  wdContext.currentContextElement.setDateTimeFieldCaption("Date");
else if (drop-down value == "DE")
  wdContext.currentContextElement.setTextFieldCaption("Hello1");
  wdContext.currentContextElement.setDateTimeFieldCaption("Datei");
4. Bind the caption property of the Fields the the WD contexts.
Now when you select the language hopefully you should be able to get the desired output.
Chintan

Similar Messages

  • How to print Adobe form in different languages.....

    HI ,
    I made one Adobe print form in EN language. Now the client requirement is that  want to print in Chinese language also or in any other langauge . Please tell me how tio do that. I am looking for a valuable solutions.
    Vishwjeet

    Hi Manoj,
    Does the requirement is to translate text in different language without any modification in the layout or do you need to make modification on layout depending on language ?
    If you only need to translate text, use SMARTOFRMS and SAPSCRIPT text in your form and add a Language parameter in the interface . then in the layout use the text in the language value given by "Language Parameter" . With this way you don't have to connect in each language to activate the form .
    If you need to make modification on layout, you need to conect to SAP in required language and then modify the form .
    Hope this help , if you need i can send you a sample form for the first solution.
    Regards.

  • Best practice in working with Adobe forms in multiple languages

    We have to provide access to some Adobe Interactive Forms in both English and French, some of them from Web Dynpro application(s), some of them as callable objects from Guided Procedures.
    1- We know for sure that we can have two copies of each form, one in English and one in French but that implies duplicating the FormCalc and Javascript code behind. 
    2- Another way if to modify in javascript all labels, captions using some javascript i.e. If lang = "E" then "My label" else "Mon étiquette" . It would work but it is not very efficient.
    Is someone here has experience with this type of situation and would be willing to share his experience with me?
    Thanks in advance,

    Hi Benoit,
    For Adobe Forms in multiple language you can use include text solution also . Within this solution you need to add a language parameter in your interface and then retrieve the include text in the language value ( not current language ) . Personnaly i used a lot this solution with Smartforms text .
    Also i used dictionnary text for text linked with data dictionnary element . For this there is standard function module in SAP .
    Anothers way is in the SFP editor you can translate your form as in SAPSCRIPT .
    Hope this help you
    Regard.
    PS : if necessary i can send you a sample form with smartform/Dictionnary text solution.

  • Error occured while showing adobe form in abap webdynpro application

    Dear SAP-Masters ,
    This is the mail regarding the error occured while showing adobe form in abap webdynpro application .
    When i run the adobe form seperately it works fine but with abap web dynpro , i'll get following error .
    Pls tell me how to resolve this problem .
    The following error text was processed in the system D35 : WebDynpro Exception:
    The error occurred on the application server DV35_D35_00 and in the work process 2 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: UPDATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: CREATE_PDF of program CL_WD_ADOBE_SERVICES==========CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/LADOBE==================CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L8STANDARD==============CP
    Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/L7STANDARD==============CP
    Method: CONV_VIEW_INTO_VE_ADAPTER_TREE of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    Method: SET_CONTENT_BY_WINDOW of program CL_WDR_INTERNAL_WINDOW_ADAPTERCP
    Method: RENDER_WINDOWS of program CL_WDR_CLIENT_SSR=============CP

    Hi Arjun ,
                Thanx for ur reply ,
                i got following results in ST22 dump analysis :
    '  An exception occurred that was not caught ' .
            and
    Source Code Extract
    Line
    SourceCde
    79
    x_xml = get_wd_context_as_xml( data_source = data_source ).
    80
    m_pdf_object->set_data( formdata = x_xml ).
    81
    catch cx_fp_exception into lr_fpexc.
    82
    raise exception type cx_wd_general
    83
    exporting
    84
    previous = lr_fpexc.
    85
    endtry.
    86
    if fillable = abap_true.
    87
           if m_version is initial.
    88
             m_version = m_pdf_object->get_version_info( ).
    89
           endif.
    90
           if version < ''.
    91
             set_usage_rights( m_pdf_object ).
    92
           endif.
    93
    endif.
    94
    endif.
    95
    endif.
    96
    97
    only call the ads if requested
    98
    if execute_ads_call = abap_true.
    99
    try.
    100
          set document
    101
    m_pdf_object->set_document( pdfdata = pdf ).
    102
    103
          execute, call ADS
    104
    m_pdf_object->execute( ).
    105
    106
          get result
    107
    m_pdf_object->get_document( importing pdfdata = pdf ).
    108
    catch cx_fp_exception into lr_fpexc.
    >>>>>
    raise exception type cx_wd_general
    110
    exporting
    111
    previous = lr_fpexc.
    112
    endtry.
    113
    endif.
    114
    115
    endmethod. 
    and
    Error analysis
    An exception occurred which is explained in detail below.
    The exception, which is assigned to class 'CX_WD_GENERAL', was not caught and
    therefore caused a runtime error.
    The reason for the exception is:
    WebDynpro Exception:
    The occurrence of the exception is closely related to the occurrence of
    a previous exception "CX_FP_RUNTIME_SYSTEM", which was raised in the program
    "CL_FP_PDF_OBJECT==============CP",
    specifically in line 255 of the (include) program
    "CL_FP_PDF_OBJECT==============CM02Y".
    The cause of the exception was:
    ADS: com.adobe.ProcessingException: PDF is not interactive.  Data can only be
    |    imported into interactive forms.(201501).

  • To Convert Adobe Form In another Language

    Hi,
    I have a Adobe form which i have created in English. I want to convert whole of the form in Spanish.
    Please help me on this as how to convert it.
    Is it Possible that when we enter any information then it is also conver it into spanish.
    With Regards,
    Gaurav Mittal.

    hi gaurav,
    check this thread
    Adobe Form for Thai Language
    hope it helps you.
    thanks
    sachin

  • Smart forms in different languages

    Hi all,
    i have an issue
    I hav to convert my smart form in 8 different languages.
    i know se63 but i dont want to use it as i have to maintain texts manually in different languages in se63.
    is there any FM or code with which i can convert my smart form in different languages.
    my smart form is originally made in EN language n i hav to convert it to german , italian , french , spanish etc.
    please tell me any SAP note no that would be really helpful.

    Hello,
    if you do to want to use se63, you have 2 way:
    1. use modul text ( see Transaction smartforms, 3°option on the screen)
    2. Use a standard text (so10 transaction)
    I mean that on smartforms you have to use only this 2 kind of text and, of corse, translate it.
    regards

  • Adobe Form for Thai Language

    Hi all,
    I'm at Thailand and I'm trying to implement Abobe Form using TH. My problem is I want to use Thai language on the form. At the time I try to write down Thai language, the form builder shows me a question mark symbol (?).
    Please help me to use Thai language on Adobe Form. Million thanks in advance.
    Regards,
    Peerasit

    Peerasit,
    Not 100% sure but install the Extended Language Font Packs for Adobe from [here|http://www.adobe.com/products/acrobat/acrrasianfontpack.html] and see if it resolves your issue.
    Chintan

  • Multiple copies in Adobe form with different header text

    Hi All,
    I have created Adobe form for Invoice and now my requirement is when we create an invoice it should generate 4 copies with different texts like original copy, duplicate copy and triplicate copy.
    I know its possible in samrtforms using the copy window and maintaing text there.Is it possible in adobe form , if yes how can we achieve this.
    Regards
    Lalit

    Are you using a custom driver program?
    If yes, then loop the function module with the number of copies you have.
    the copy name should be a variable which should be passed to the form in the loop change the value of the copy control accordingly.
    Please let me know, if you see any issues.
    Thanks,
    Rakesh

  • Adobe form output different in QA and PRD for Currency field

    Background:
    I am using adobe form to display purchase order details using a output type.
    I am displaying the field NETWR of the purchase order in the form.
    For return orders this value is negative.
    Problem:
    In production system the value is displayed as 0. where as in QA the negative value gets displayed.
    The version of the form is same in both the system.
    Also I have speficied the Currency/quantity fields in the interface.
    I did a bit of debugging and found that in the generated function module of the form there is a difference.
    QA:
    PERFORM %OUTPUT USING 'NETWR' %WORKAREA4-NETWR 'CURR' 'P' 'HEADER-WAERS' HEADER-WAERS ' '.
    PRD:
    PERFORM %OUTPUT USING 'NETWR' %WORKAREA4-NETWR 'CURR' ' ' 'HEADER-WAERS' HEADER-WAERS ' '.
    You can see that the VALUE P (ABAP type for curr) is passed in QA but not in PRD.
    I am not able to understand what causes this code change.
    Has anybody come across this problem?
    Note: I am using copy of MEDRUCK for the interface.

    Thank you for posting your solution like a good community member! I was having the same problem and your post helped. Many Thanks

  • How to localize LiveCycle Form in different languages ?

    Dear All,
    I want to localize the captions of the fields in PDF Form developed using Adobe LiveCycle Designer 7.1.
    In order to do that, I figured out that have to prepare XML Data Source of all Captions and related text in the target language.
    The languages are English, Arabic and French. For each Language, there must be one XML File which will be the Data Source of the required captions, and the captions on the form will be bound to that XML Data Source.
    I need to find automated way (programmatic or any other way) to generate the XML in a special format using input for a Table in any Database, say MS Access/SQL, as follows:
    I have input table of Captions in all languages that looks like the following (see the Excel Sheet below for a sample input table):
    http://spreadsheets.google.com/pub?key=pDk9OsF0emb5zxEhSunL3UQ
    Note: I am sorry as I do not know the French translation.
    Using the above input table, I need to generate 3 separate XML Text Files as follows:
    ---- For Arabic ---
    الاسم
    العنوان
    تاريخ الميلاد
    عدد افراد الاسرة
    الجنسية
    ---- For English ---
    Name
    Address
    Date of Birth
    Family Members
    Nationality
    ---- For French ---
    xxx
    yyy
    xxx
    xxx
    yyy
    The Input Table above is relatively huge, and it may change from time to time, therefore, it will be very important to generate XML using programmatic approach.
    I was able to use Dynamic Property Biding to bind the captions and the tool tip text to such XML Data Source, but I am still facing some difficulties.
    So, after generating the above XML Files one for each language, and do all the binding in LiveCycle Desinger, then before publishing the forms LIVE, I will create 3 copies of the PDF form, one for each language, and use Acrobat to import the Resource XML File (using Import Form Data Menu Option) of the related resource language file in the related PDF File, and save the PDF file.
    To summarize:
    ============
    1. Is this the correct approach for localization, or there is better one ?
    2. How I can generate the above XML in an easy way from the input table shown in the link above ?
    3. Can I control the direction the the PDF From so that I can make it From Right to Left for Arabic instead of from Left to Right ? I want to avoid making a new separate PDF specially form Arabic Language. The direction will affect the reading order and the Tab Order of the Fields and the location of the Objects on the Form.
    4. I figured out how to change the field alignment, caption location, and locale using javascript, but is there an easy way to change such properties using JavaScript for all fields in one go, because the form has 14 pages, and each page has many subforms which are nested up to 3 levels.
    Please help.
    Tarek.

    Thank you PDL,<br /><br />With regards to localizing the Text and Captions, I worked out a model using MS Excel Sheet, Pivot Table, and Linking to MS Access, and now I have a working model with semi-automated method to generate the XML Data Source of the Caption Text. I will post the details later.<br /><br />With regards to controlling the object layout during runtime, I started with this script on the Layout Ready Event of the "untitled subform" (page 1):<br /><br />var cnt = this.nodes.length;<br />for(var i = 0; i<cnt; i++) {<br /><br />  var elm = this.nodes.item(i);<br /><br />  if (elm.className == "field") {<br /><br />    switch (Language.rawValue)<br />    {<br />      case "&#8207;&#1593;&#1585;&#1576;&#1610;&#8206;": // Arabic<br />        elm.locale = "ar_SA";<br />        elm.para.hAlign = "right";<br />        elm.caption.placement = "right";<br />        elm.caption.para.hAlign = "right";<br />        break;<br />      case "English":<br />        elm.locale = "en_GB";<br />        elm.para.hAlign = "left";<br />        elm.caption.placement = "left";<br />        elm.caption.para.hAlign = "left";<br />        break;<br />    }<br />  }<br />//app.alert(elm.name + " -  " + elm.className);<br />}<br /><br />---<br /><br />The above scripted is only working on the first subform of and only for the fields in "this" subform.<br /><br />And also, this code you prvided:<br /><br />>var coll = xfa.resolveNodes("xfa.form.form1.#subform[*].TextBox[*]"); <br /><br />will not give me a collection of all Required Fields (such as Text Field and Radio Button Fields and all others).<br /><br />Perhaps the question should be:<br /><br />1. How to get a collection of (or be able to loop through) all required fields (all Labels and any field that has a caption, placement, and alignment) in all pages and all subforms and the nested subforms ???<br /><br />2. With regards to the direction issue, I was reading the Adobe_XML_Form_Object_Model_Reference.pdf for version 8.0 and it seems there is a Direction Tag for the subform but not sure if this will be useful for my requirement.<br /><br />Just to make sure you understand what I am talking about, imagine that I want to flip the PDF Layout horizontally, so that all objects that were located on the left side, should be relocated on the opposite side starting from the right. I was thinking I could use the x,y coordinates of the field object to relocate the position during runtime using javascript. But this requires some complex formula to calculate the relative dimension in relation to the parent object. Can you help me on this ?<br /><br />Any feedback will be appreciated.<br /><br />Tarek.

  • Copy sapscript form to different language

    Hi All,
    I'm trying to copy a form that was created in hebrew to the same form name but with language english.
    (the original language and the language key are the same now).
    I can't find a way to do this.
    Does any one have any idea ?
    Thanks,
    Michal.

    Go to SE71, enter the form name and the language in which you want to copy to. Click Create.  At the next screen, click Form, Copy From.  A dialog will appear which you can enter the form name and langauge to copy from.  Enter the values and click green check.
    Regards,
    Rich Heilman

  • Print adobe form in local language (Hindi)

    Hi Experts,
    I have to design a print form in adobe in which text will be in Hindi,
    I did not found any font in the existing configuration which support Hindi,
    How can I upload desired font in the designer ?
    Or is there any other way out to solve this issue ?
    Regards
    Bikas

    The font will need to be installed on the server if it is not currently available for you to use.
    Take a look here for help: [Adding Fonts|http://help.sap.com/saphelp_nw70/helpdata/en/d0/cdf29623c8432fa1545df5f43176de/content.htm ]

  • Copying sapscript form in different languages...

    Hi,
    I want to use your suggested solutions for my program, then test and only then I can award the points and close the issue . Till then please bear with me ***
    I am stuck up with duplicating my medruck program. I choose from menu Utilies--> Copy from client to create a copy, but the original language of medruck is german !! I want a duplicate copy in EN so that i can add a cover page and add my own elements  !!
    I tried creating a copy, but when I am in EN i am not able to add any new pages  !!
    why ?? is there any way to solve my problem ??
    thanks

    Hi Rad,
    Please tru to copy the script with out selecting "Original Language only". Then it will caopy it in to all languages and change the respective layout set as you want.
    If you copied Original language only then use T/Code SE71 and Utilities--> convert original language

  • Showing application message with different languages...

    Hi guys,
    i've a question for you.
    I'm trying to add to my jsf application a new language.
    I've added a resource bundle and everythings it's ok.
    My question is:
    if in my bean i've
    if (rs.next()) {
                             FacesContext facesContext = FacesContext
                                       .getCurrentInstance();
                             facesContext.addMessage(null, new FacesMessage(
                                       FacesMessage.SEVERITY_ERROR,
                                       "Il laboratorio risulta essere gi� inserito",
                                       "Laboratorio esistente"));
                        }that print a message in a language,how can i this message in the other language(english,for example)?
    I have to put also application message into resource bundle?
    How can i retrieve them?
    Please help me...

    thanks very much,
    i've changed english as default in th locale but nothing!!!
    i retrieve only italian messages...
    can you help me to find the error?
    When i pass to english mode all outputText messages of application became in english,but application message of bean are in italian,i try to print locale and it is
    it
    Here is my code of my visit object,it is of session type
    package giu;
    import java.io.Serializable;
    import java.sql.Connection;
    import java.sql.Statement;
    import java.util.*;
    import javax.faces.application.Application;
    import javax.faces.context.FacesContext;
    import javax.faces.model.SelectItem;
    import javax.servlet.http.HttpSessionBindingEvent;
    import javax.servlet.http.HttpSessionBindingListener;
    import javax.sql.DataSource;
    public class Visit implements HttpSessionBindingListener {
         private static final long serialVersionUID = 1L;
          * @uml.property name="user"
          * @uml.associationEnd
         private User user;
          * @uml.property name="localeItems"
         private boolean loggedIn;
         private List localeItems;
         public static Connection conn;
          * @uml.property name="authenticationBean"
          * @uml.associationEnd
         private AuthenticationBean authenticationBean;
         public Visit() {
          * @return Returns the user.
          * @uml.property name="user"
         public User getUser() {
              return user;
          * @param user
          *            The user to set.
          * @uml.property name="user"
         public void setUser(User user) {
              this.user = user;
         public boolean getLoggedIn() {
              return loggedIn;
          * @param user
          *            The user to set.
          * @uml.property name="user"
         public void setLoggedIn(boolean loggedIn) {
              this.loggedIn = loggedIn;
          * @return Returns the authenticationBean.
          * @uml.property name="authenticationBean"
         public AuthenticationBean getAuthenticationBean() {
              return authenticationBean;
          * @param authenticationBean
          *            The authenticationBean to set.
          * @uml.property name="authenticationBean"
         public void setAuthenticationBean(AuthenticationBean authenticationBean) {
              this.authenticationBean = authenticationBean;
         public List getSupportedtLocaleItems()
             if (localeItems == null)
               localeItems = new ArrayList();
               Application app = FacesContext.getCurrentInstance().getApplication();
               for (Iterator i = app.getSupportedLocales(); i.hasNext(); )
                 Locale locale = (Locale)i.next();
                 SelectItem item = new SelectItem(locale.toString(), locale.getDisplayName());
                 localeItems.add(item);
               if (localeItems.size() == 0)
                 Locale defaultLocale = app.getDefaultLocale();
                 localeItems.add(new SelectItem(defaultLocale.toString(), defaultLocale.getDisplayName()));
             return localeItems;
         public String getLocale()
             return FacesContext.getCurrentInstance().getViewRoot().getLocale().toString();
           public void setLocale(String locale)
             FacesContext.getCurrentInstance().getViewRoot().setLocale(new Locale(locale));
           }and this is the header of my jsf pages
    <h:selectOneListbox id="languageSelect" size="1" styleClass="language-select" value="#{visit.locale}">
              <f:selectItems value="#{visit.supportedtLocaleItems}"/>
            </h:selectOneListbox>
            <h:commandButton value="Go!" styleClass="language-select-button"/>and this is my web.xml
    <application>
      <message-bundle>microarray.bundle.messageResource</message-bundle>
      <locale-config>
       <default-locale>it</default-locale>
       <supported-locale>it</supported-locale>
       <supported-locale>en</supported-locale>
      </locale-config>
    </application>can someone help me?
    Thanks

  • Language Conversion for Adobe form using Web Dynpro

    Hi,
    I want to convert the whole adobe form which have created in English to some other language using web dynpro. Is it possible.
    Please help me on this.
    Thanks & Regards,
    Gaurav Mittal

    Hi Gaurav,
    Gudday.
    You can very well view a single adobe form in different languages by  maintaining the translations in the desired language using the path
    tools->translation->select the language->translate pdf form
    on selecting the language,the text will be displayed  in source language ....using the menu tabs copy the source text and maintain the texts in the required language.
    Hope it is clear.Please revert for any clarifications.
    Thanks,
    Martina

Maybe you are looking for

  • Trouble with loops

    so i took my laptop in to get repaired a while ago, and they told me they would have to send it back to the factory to repair it. so i did, and when it got back i realized they deleted a lot of stuff off of my computer, including all of my loops. so

  • Numbered List and Bulleted List w/ Custom Style Sheet

    Hi, I am a new user to RoboHelp 7, and must say I find it useful but also painful to use. Currently I'm trying to solve something that feels like a bug in RoboHelp 7, but before I give in and accept defeat I wanted to check with the forum. I have Fra

  • Apple Pay - Card Design Not Reflected in Passbook

    I started using Apple Pay yesterday, and all of my cards loaded quickly and easily. However, the card designs on my Citi cards (I have 2), are not being reflected. When loaded into Apple Pay, they are just generic looking cards, not the actual design

  • Why won't the window show on the screen after the latest update?

    When I try to open Firefox, it shows that it has a window open in the taskbar, but it will not show up on my screen. == This happened == Every time Firefox opened == I installed the newest update == == User Agent == Mozilla/5.0 (Macintosh; U; Intel M

  • Xserve Firmware update fails (5.1.7f1)

    Hi I have an Xserve G5 another dept. donated to mine recently that has not been used for sometime. I'm trying to update it to the latest patches etc. however the firmware update refuses to take. I followed all the instructions: http://docs.info.apple