An open API service indexing awesome lists of open source software.

https://github.com/rmraya/sdltm

Conversion of SDLTM files from Trados Studio to standard TMX 1.4b format
https://github.com/rmraya/sdltm

Last synced: about 1 year ago
JSON representation

Conversion of SDLTM files from Trados Studio to standard TMX 1.4b format

Awesome Lists containing this project

README

          

# sdltm

TypeScript library for converting SDLTM files (Translation Memory databases from Trados Studio) to TMX 1.4b

## Installation

`npm install sdltm`

## Example

```TypeScript
import { TMReader } from "./TMReader";

const SUCCESS: string = 'Success';
const ERROR: string = 'Error';

class Test {

constructor(sdltmFile: string, tmxFile: string) {
new TMReader(sdltmFile, tmxFile, { 'productName': "My Tool", 'version': '1.0' }, (data: any) => {
if (data.status === SUCCESS) {
console.log(JSON.stringify(data));
}
if (data.status === ERROR) {
console.error(data.reason);
}
});
}
}

new Test('Japanese.sdltm', 'Japanese.tmx');
```