IBM Sterling Transformation Extender

Sterling Transformation Extender

Come for answers, stay for best practices. All we're missing is you.


#Sterling
Β View Only
  • 1.  How to set Ressource Registry in English for "Newbies" 🀣

    Posted Mon August 07, 2023 04:21 AM
    Edited by Philippe Mongrolle Mon August 07, 2023 05:20 AM

    Hi !

    Let's start with a very basic issue I just encounter with ITX v10.1.0.2 build 11 but I'm pretty sure its the same with other versions / builds : how do I setup ITX to get the Ressource Registry in English ?

    Wouldn't be so much of an issue if it was not also affecting tagsnames on the ressources naming files, and therefore generating something like :

    <Value Server="DEV" encrypt="Activer" id="7260" iv="3350dc467d1022d581b81a8d4863a307">34ce9e2002dc55a355f0724bac604607</Value>


    Activer that would NOT be interpreted as ON by the runtime of course 😎, failing the ressource to be decrypted...


    Of course I changed the settings in CleanExtenderStudio.bat, ExtenderStudio.bat, resourceregistry.bat and ResourceRegistryHelper.bat, but it doesn't help...

    Any clue on how to solve this issue would be highly appreciated !

     



    ------------------------------
    Philippe Mongrolle
    ------------------------------



  • 2.  RE: How to set Ressource Registry in English for "Newbies" 🀣

    Posted Mon August 07, 2023 04:45 AM

    Looks very familiar with an issue we had when the first localized versions were released... 

    Did you have a PMR for this? Would be nice to have the ability to distinguish interface language from settings file language.



    ------------------------------
    Laurent Barthelemy
    Technical director
    Satisco
    mont saint guibert
    +33 616792115
    ------------------------------



  • 3.  RE: How to set Ressource Registry in English for "Newbies" 🀣

    Posted Mon August 07, 2023 04:55 AM

    Hi Laurent, I was about to open a PMR but I thought it would be an idea to challenge ITX community before actually disturbing Gertie & Paul 😎

    And yes, I opened a PMR before on that matter, long time ago, first Eclipse version of ITX, I had the same with he mms export, the tags were corrupted exactly the same way, which leaded to the decision to NEVER use anything else than English setting on that matter...



    ------------------------------
    Philippe Mongrolle
    ------------------------------



  • 4.  RE: How to set Ressource Registry in English for "Newbies" 🀣

    Posted Mon August 07, 2023 10:10 AM
    Edited by Philippe Mongrolle Mon August 07, 2023 10:12 AM

    pfffffffffffffffffffffff
    The quickest PMR I had in my life..
    I simply had to uncomment line#15 of resourceregistry.bat, below   :DTXHomeSet
    the one calling the JRE and setting the %USRLANGUAGE% and %USRCOUNTRY% 

      call %JRE% -DINSTALLDIR="%DTXHOME%" -Duser.language=%USRLANGUAGE% -Duser.country=%USRCOUNTRY% -Dsun.java2d.noddraw=true -classpath "%DTXHOME%\resourceregistry.jar";"%DTXHOME%\dtxpi.jar";%JREBASECLASSPATH% com.ibm.websphere.dtx.resourceregistry.gui.ResourceRegistry


    My reputation is defenetly doomed  πŸ€£

    Thanks again @Paul Brett !

    ------------------------------
    Philippe Mongrolle
    ------------------------------



  • 5.  RE: How to set Ressource Registry in English for "Newbies" 🀣

    Posted Wed August 09, 2023 04:03 AM
    Posting solution here for completeness:
     
    If you open the ReseourceRegistry.bat script in the ITX installation directory, and find these lines:
     
    REM set USRLANGUAGE=
    REM set USRCOUNTRY=
    :DTXHomeSet
    REM call %JRE% -DINSTALLDIR="%DTXHOME%" -Duser.language=%USRLANGUAGE% -Duser.country=%USRCOUNTRY% -Dsun.java2d.noddraw=true -classpath "%DTXHOME%\resourceregistry.jar";"%DTXHOME%\dtxpi.jar";%JREBASECLASSPATH% com.ibm.websphere.dtx.resourceregistry.gui.ResourceRegistry
    call %JRE% -DINSTALLDIR="%DTXHOME%" -Dsun.java2d.noddraw=true -classpath "%DTXHOME%\resourceregistry.jar";"%DTXHOME%\dtxpi.jar";%JREBASECLASSPATH% com.ibm.websphere.dtx.resourceregistry.gui.ResourceRegistry
     
    Make modifications as follows:
     
    :DTXHomeSet
    set USRLANGUAGE=en
    set USRCOUNTRY=GB
    call %JRE% -DINSTALLDIR="%DTXHOME%" -Duser.language=%USRLANGUAGE% -Duser.country=%USRCOUNTRY% -Dsun.java2d.noddraw=true -classpath "%DTXHOME%\resourceregistry.jar";"%DTXHOME%\dtxpi.jar";%JREBASECLASSPATH% com.ibm.websphere.dtx.resourceregistry.gui.ResourceRegistry
    REM call %JRE% -DINSTALLDIR="%DTXHOME%" -Dsun.java2d.noddraw=true -classpath "%DTXHOME%\resourceregistry.jar";"%DTXHOME%\dtxpi.jar";%JREBASECLASSPATH% com.ibm.websphere.dtx.resourceregistry.gui.ResourceRegistry
     
    In summary - Edit the resourceregistry.bat script to ensure that the USRLANGUAGE and USRCOUNTRY variables are set (moved beyond the ':DTXHomeSet' label) and change the REM statements to activate the line that includes these variables in the final Java call


    ------------------------------
    Paul Brett
     
    IBM Sterling Transformation Extender (ITX) Client Support
    ------------------------------