Hi Chunyi Chen
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
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" "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.