how could I convert this file in TXT format into a file in tmx format Thread poster: Ebrahim Mohammed
|
background:
I have downloaded an Open Access Arabic-English Translation Memory which was before downloading, as it should be, in tmx format, but for some reason the TM is downloaded in txt format like the following:
my question:
how could I convert this file in TXT format into a file in tmx format so that I could add it to be used in translation projects using Trados and CafeTran Espresso
[Edited at 2019-05-19 15:14 GMT]
[Ed... See more background:
I have downloaded an Open Access Arabic-English Translation Memory which was before downloading, as it should be, in tmx format, but for some reason the TM is downloaded in txt format like the following:
my question:
how could I convert this file in TXT format into a file in tmx format so that I could add it to be used in translation projects using Trados and CafeTran Espresso
[Edited at 2019-05-19 15:14 GMT]
[Edited at 2019-05-19 15:16 GMT] ▲ Collapse | | | Ebrahim Mohammed Germany Local time: 23:43 Member English to Arabic + ... TOPIC STARTER thank you in advance | May 19, 2019 |
thank you in advance
[Edited at 2019-05-19 15:49 GMT] | | | Tony M France Local time: 23:43 Member French to English + ... SITE LOCALIZER Quick and dirty solution! | May 19, 2019 |
First, check that the .TXT file has the right number of tabs (= columns) to correspond to a .TMX file — if it originally came from one, it probably will have!
Secondly, in a basic text editor utility, open any existing .TMX file you have, in order to get just the header (you may or may not delete the rest of the text, as you see fit)
Thirdly, copy and paste your .TXT file into the .TMX template below the header (watch out, if the .TXT file has its own header, you mig... See more First, check that the .TXT file has the right number of tabs (= columns) to correspond to a .TMX file — if it originally came from one, it probably will have!
Secondly, in a basic text editor utility, open any existing .TMX file you have, in order to get just the header (you may or may not delete the rest of the text, as you see fit)
Thirdly, copy and paste your .TXT file into the .TMX template below the header (watch out, if the .TXT file has its own header, you might need to delete this, being careful about exaclty where you stop and start (¶ marks etc.))
Fourthly, open said newly-created .TMX file in your chosen application and 'reorganize' it to make sure it is OK.
I have to say that I have not tried this specific manœuvre, but use one materially similar to achieve a similar task in my own CAT tool.
In the case of my own CAT tool, it actually offers the option to merge an existing TM with another file in .TXT or .TMX format — I don't know if your CAT tool might have the same feature?
Do note that, if this .TXT file originally came from a .TMX file, you might find (using a working copy of it!) you could simply try changing the file extension and see if that is all that is needed!
[Edited at 2019-05-19 15:31 GMT] ▲ Collapse | | | Samuel Murray Netherlands Local time: 23:43 Member (2006) English to Afrikaans + ... Maybe a browser/web server problem? | May 19, 2019 |
Ebrahim mohammed wrote:
I have downloaded an Open Access Arabic-English Translation Memory...
Do you mean this one?
https://github.com/anastaw/Meedan-Memory
(or similar)
1. Your post doesn't show the sample that you were trying to attach, so I'm just guessing what your problem might be. Could it be that your browser downloaded the TMX file in a way that is unusable for you?
One solution for this is to use your browser's right-click function. Right-click the download button on that web site and select "Save linked content as" (or similar, depending on your browser). However, the right-click trick only works if the web site has a good and proper design (and unfortunately the GitHub site was designed by buffoons).
The way to download the TMX file from GitHub, is this: visit the URL mentioned above, then click the "Clone" button, and select to download the "zip" version. Then unzip the zip file using e.g. 7-zip.
2. ProZ.com's forum system doesn't work well with pasted XML, so what you paste may not be what the forum software displays. However, there are ways to see what someone had tried to post, and I was able to see the content that you tried to post in your second post, and I can confirm that it is perfectly good TMX. You must just make sure the content is saved as a file with the file extension ".tmx".
Tony M wrote:
Do note that, if this .TXT file originally came from a .TMX file, you might find (using a working copy of it!) you could simply try changing the file extension and see if that is all that is needed!
I don't understand the advice that Tony gave (sorry!) but on this I concur: if the file is a TMX file but it's file extension is ".txt" (or anything else that your browser may have chosen), simply change the file extension to ".tmx". To be able to do this, you need to enable file extension view temporarily: https://www.youtube.com/watch?v=PoTah9YBG2Y
[Edited at 2019-05-19 16:14 GMT] | |
|
|
Ebrahim Mohammed Germany Local time: 23:43 Member English to Arabic + ... TOPIC STARTER thank you Samuel...your tips are helpful and much apprectiated ..it has worked ! | May 19, 2019 |
Samuel Murray wrote:
Ebrahim mohammed wrote:
I have downloaded an Open Access Arabic-English Translation Memory...
Do you mean this one?
https://github.com/anastaw/Meedan-Memory
(or similar)
1. Your post doesn't show the sample that you were trying to attach, so I'm just guessing what your problem might be. Could it be that your browser downloaded the TMX file in a way that is unusable for you?
One solution for this is to use your browser's right-click function. Right-click the download button on that web site and select "Save linked content as" (or similar, depending on your browser). However, the right-click trick only works if the web site has a good and proper design (and unfortunately the GitHub site was designed by buffoons).
The way to download the TMX file from GitHub, is this: visit the URL mentioned above, then click the "Clone" button, and select to download the "zip" version. Then unzip the zip file using e.g. 7-zip.
2. ProZ.com's forum system doesn't work well with pasted XML, so what you paste may not be what the forum software displays. However, there are ways to see what someone had tried to post, and I was able to see the content that you tried to post in your second post, and I can confirm that it is perfectly good TMX. You must just make sure the content is saved as a file with the file extension ".tmx".
Tony M wrote:
Do note that, if this .TXT file originally came from a .TMX file, you might find (using a working copy of it!) you could simply try changing the file extension and see if that is all that is needed!
I don't understand the advice that Tony gave (sorry!) but on this I concur: if the file is a TMX file but it's file extension is ".txt" (or anything else that your browser may have chosen), simply change the file extension to ".tmx". To be able to do this, you need to enable file extension view temporarily: https://www.youtube.com/watch?v=PoTah9YBG2Y
[Edited at 2019-05-19 15:47 GMT] | | | Ebrahim Mohammed Germany Local time: 23:43 Member English to Arabic + ... TOPIC STARTER thank you Tony I am trying to figure out and lern from your guiding steps ...much appreciated | May 19, 2019 |
thank you Tony... I am trying to figure out and lern from your guiding steps ....still, your respose much appreciated....have a nice day...
Tony M wrote:
First, check that the .TXT file has the right number of tabs (= columns) to correspond to a .TMX file — if it originally came from one, it probably will have!
Secondly, in a basic text editor utility, open any existing .TMX file you have, in order to get just the header (you may or may not delete the rest of the text, as you see fit)
Thirdly, copy and paste your .TXT file into the .TMX template below the header (watch out, if the .TXT file has its own header, you might need to delete this, being careful about exaclty where you stop and start (¶ marks etc.))
Fourthly, open said newly-created .TMX file in your chosen application and 'reorganize' it to make sure it is OK.
I have to say that I have not tried this specific manœuvre, but use one materially similar to achieve a similar task in my own CAT tool.
In the case of my own CAT tool, it actually offers the option to merge an existing TM with another file in .TXT or .TMX format — I don't know if your CAT tool might have the same feature?
Do note that, if this .TXT file originally came from a .TMX file, you might find (using a working copy of it!) you could simply try changing the file extension and see if that is all that is needed!
[Edited at 2019-05-19 15:31 GMT] | | |
Samuel Murray wrote:
The way to download the TMX file from GitHub, is this: visit the URL mentioned above, then click the "Clone" button, and select to download the "zip" version. Then unzip the zip file using e.g. 7-zip.
Thank you, Samuel. That's indeed how I was able to download the TM. Then I opened it in one of the tools mentioned by the OP. All looks fine to me.
| | | To report site rules violations or get help, contact a site moderator: You can also contact site staff by submitting a support request » how could I convert this file in TXT format into a file in tmx format Pastey | Your smart companion app
Pastey is an innovative desktop application that bridges the gap between human expertise and artificial intelligence. With intuitive keyboard shortcuts, Pastey transforms your source text into AI-powered draft translations.
Find out more » |
| Anycount & Translation Office 3000 | Translation Office 3000
Translation Office 3000 is an advanced accounting tool for freelance translators and small agencies. TO3000 easily and seamlessly integrates with the business life of professional freelance translators.
More info » |
|
| | | | X Sign in to your ProZ.com account... | | | | | |