gaois / terminologue

An open-source terminology management tool
http://www.terminologue.org/
MIT License
44 stars 7 forks source link

import TBX? Or any kind of tab-delimited format? #99

Open michaelbeijer opened 2 years ago

michaelbeijer commented 2 years ago

Hi everyone,

Is it possible yet to import TBX? Or any kind of tab-delimited format? And if so, how?

Michael

somethingdark commented 1 year ago

I'm also interested in finding this out. Are there any updates on this matter?

J.

michaelbeijer commented 1 year ago

Hmm, I don't think anyone is monitoring this area.

somethingdark commented 1 year ago

Hi Michael, this is the e-mail I received when I asked for support on this matter. The work around described below did work for me. Until an TBX import is implemented you could try this:

E-Mail extract:

We hope to finish implementing the web-based TBX import function under 'Configuration' very soon, this quarter I hope.

In the meantime, it is possible to convert a TBX file to a Terminologue SQLITE file using the tbx-import.js script. Here are some instructions (Windows):


michaelbeijer commented 1 year ago

Wow, thanks for this! That seems doable.

Any idea what happens with duplicates, if any, when importing from a TBX? That is, if a term is already in the SQLITE, do you end up with a duplicate after importing fro the TBX?

I'm constantly on the lookout for a proper termbase solution for my gigantic collection of Dutch-English data. See: https://termhotel.com for some info on my stuff. I have literally hundreds and hundreds of smaller glossaries and all kinds of other termbases I'd like to get into some form of proper database at some point.

I have used and own all manner of commercial software (Trados MultiTerm, LogiTerm, http://www.evoterm.net, tlTerm https://tshwanedje.com/terminology/, etc.), but would like something I can tinker with myself.

Best wishes,

Michael

On Tue, Mar 14, 2023 at 10:50 AM somethingdark @.***> wrote:

Hi Michael, this is the e-mail I received when I asked for support on this matter. The work around described below did work for me. Until an TBX import is implemented you could try this: E-Mail extract:

We hope to finish implementing the web-based TBX import function under 'Configuration' very soon, this quarter I hope.

In the meantime, it is possible to convert a TBX file to a Terminologue SQLITE file using the tbx-import.js script. Here are some instructions (Windows):

  • Download the Terminologue software.
  • Install Node.js and add it to your system path.
  • Create a Terminologue formatted Termbase via the Terminologue web interface (Either using your own instance of Terminologue or by creating an account on our cloud-based instance [http://www.terminologue.org< http://www.terminologue.org]www.terminologue.org http://www.terminologue.org.)
  • Download this termbase (Configuration > Download termbase.sqlite).
  • Open 'terminologue\exportimport\tbx-import.js' in an editor, assign the path to your TBX file to the TBXFILE variable, assign the path to your SQLITE file to the SQLITEFILE variable, and save.
  • Open a command prompt, navigate to 'terminologue\exportimport', and run 'node tbx-import.js'. This is dependent on 'terminologue\shared\tbx-to-entry.js'.
  • Upload your SQLITE file to your Terminologue termbase (Configuration

    Upload termbase.sqlite).


— Reply to this email directly, view it on GitHub https://github.com/gaois/terminologue/issues/99#issuecomment-1467861111, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD62FIBVRK3CO4OBMUVRT6LW4BERHANCNFSM6AAAAAAR6NLAGU . You are receiving this because you authored the thread.Message ID: @.***>

-- Michael Beijer Dutch-English technical translator Hastings, United Kingdom Tel.: 447475771720 Email: @.*** Websites: Beijer.uk https://beijer.uk & Termhotel.com https://termhotel.com/Home

--

somethingdark commented 1 year ago

Nope, sorry can't really help you there, mate. I've been importing terms into clean databases so far. Just give it a try, the process is pretty quick.

patrickdrouin commented 1 year ago

I was looking for this. Thanks! I hope it will be included in the actual interface one day.