How to batch export multiple termbases?

Dear Studio users,

I am trying to export my Multiterm termbases to xml files for use with the Term Presentation plugin.

Is there a way or an app that allows me to export multiple termbases in one go?  I don't need to combine the termbases, just one termbase to one xml file.

Thank you for your suggestions.

 

Chunyi

Parents
  • Hi  

    I'm not aware of a way to do this other than to use the command line tool of the glossary converter. This is what the help says:

    ============

    There are 3 things you can use the command line for:

    • Pass one or more files to the converter to automate conversion: termbases and optionally a settings file.
    • Enforce the use of Libre/Open Office, even if Excel is installed. This may be useful if Excel does not load properly
    • Start in debug mode. This will create a log file, mostly with information about the process of initialising Excel and Libre/Open Office

    Batch Mode
    If you want to automate the conversion of glossary files, you can use Glossary Converter in a batch file, passing in one or more file paths as parameters and (optionally) a settings file, like this:

    GlossaryConverter.exe "C:\GlossaryConverter\testdata\LegalTerms.xlsx"

    or this

    GlossaryConverter.exe "C:\GlossaryConverter\testdata\LegalTerms.xlsx" "C:\GlossaryConverter\testdata\GeneralGlossary.csv" -s:"C:\GlossaryConverter\testdata\settings.xml"

    If no settings file is provided, the default settings are loaded from C:\Users\<user name>\AppData\Local\SDL OpenExchange\GlossaryConverter\settings.xml

    If any user interaction is required, the dialogs (languages, overwrite file confirmation) will still be displayed. For silent conversion, make sure all languages and fields are defined in the settings file, and all target files have been deleted (to avoid the delete confirmation dialog). Also make sure that the flag <AlwaysShowFieldsDialog> in the settings file is either set to false or missing altogether.

    ============

    So you would do something like this I guess:

    GlossaryConverter.exe "C:\GlossaryConverter\testdata\LegalTerms.sdltb" "C:\GlossaryConverter\testdata\GeneralGlossary.sdltb" -s:"C:\GlossaryConverter\testdata\settings.xml"

    Make sure your settings file is based on converting SDLTB to MultiTerm XML.

    Regards

    Paul

    Paul Filkin | RWS Group

    ________________________
    Design your own training!

    You've done the courses and still need to go a little further, or still not clear? 
    Tell us what you need in our Community Solutions Hub

  • Hi Paul,

    I am sure someone else will benefit from the instructions above, but for me this is much more difficult than exporting the termbase one by one to xml format in Multiterm Desktop. I will stick to the conventional method:)

    Chunyi
Reply Children