IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  Change text labels in a search table control

    Posted Fri February 27, 2009 10:01 PM

    Hi,

    I want to change (translate) the text for some of the controls and headers inside the search table control, but havent found a way of doing this.

    Does anyone know how to do this?

    /Eric


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS


  • 2.  RE: Change text labels in a search table control

    Posted Sat February 28, 2009 12:43 AM

    i8n need to do localization when there is a yellow warning next to a hard code label that points to you need to localize and point the label to read from reference to a label in a file and depending on the localization it will read from the appropriate file…

    In CAF view - switch to project explorer view - choose project or view you want to localize in the context menuy choose CAF Tools >> Externalize Strings - designer will now create entries in the message bundle for all hard coded strings.

    • you then create properties for each language that should be supported…

    Straight from the CAF training manual i have…


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine


  • 3.  RE: Change text labels in a search table control

    Posted Mon March 02, 2009 08:21 AM

    Hi again,

    The CAF tool did not do the trick for the strings inside the Search table control. For instance the GO-button and ‘previous’ and ‘next’ strings has not been externalized.

    Eric


    #MWS-CAF-Task-Engine
    #webMethods
    #webMethods-BPMS


  • 4.  RE: Change text labels in a search table control

    Posted Mon March 02, 2009 06:22 PM

    In CAF 7.x, the only supported way to change the text of the labels of the built-in controls is to apply a language pack for your target locale.

    If there is not already a language pack for your locale, you may try to create one following the directions @ http://ajax-softwareag.com/articles/VIQU62/Localization/L10n_LocalizeJSFLibraries.html

    Those instructions were intended for ‘CAF Standalone’ where the applications are deployed to tomcat or jboss. The instructions to get your localized resources into MwS would require a few more manual steps.

    The procedure would be something like this:

    1. build your the language pack binaries
    2. manually copy the plugins/com.webMethods.caf.shared.lp./*_.jar file binaries to your MwS installation (to MWS/updates)
    3. run the “MWS/bin/mws.bat update” command to update the server classpath with the new jar files.
    4. restart MwS.

    If you do that then the localized resources should be in the MwS server and available for your applications to use.


    #webMethods
    #webMethods-BPMS
    #MWS-CAF-Task-Engine