lingo.dev icon indicating copy to clipboard operation
lingo.dev copied to clipboard

Add support for TMX (Translation Memory eXchange) file format

Open vrcprl opened this issue 2 years ago • 4 comments

What

Implement a loader for TMX files in Replexica.

Why

To support translation agencies, LSPs, and translators using CAT tools and translation memory sharing.

How

  1. Create a new loader in packages/cli/src/loaders/tmx.ts
  2. Implement parsing logic for TMX XML structure
  3. Add two unit tests in packages/cli/src/loaders/index.spec.ts:
    • Test parsing a simple TMX file
    • Test handling metadata in TMX entries
  4. Update @replexica/spec to include TMX format
  5. Generate a changeset using pnpm new for both 'replexica' and '@replexica/cli' packages
  6. In the pull request, include a link to the TMX specification used.

After completing the task

Noticed a file format Replexica doesn't yet support? Please create a new GitHub ticket (if it doesn't yet exist!), using the format/structure of this GitHub issue.

vrcprl avatar Nov 04 '24 19:11 vrcprl

@maxprilutskiy kindly this one to me

partik03 avatar Nov 30 '24 09:11 partik03

@partik03 assigned 🚀

vrcprl avatar Nov 30 '24 18:11 vrcprl

up for grabs again!

maxprilutskiy avatar Jan 15 '25 10:01 maxprilutskiy

deprioritized for now.

feel free to create a new issue if you need this!

maxprilutskiy avatar May 20 '25 16:05 maxprilutskiy