Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for TMX (Translation Memory eXchange) file format #289

Open
vrcprl opened this issue Nov 4, 2024 · 3 comments
Open

Add support for TMX (Translation Memory eXchange) file format #289

vrcprl opened this issue Nov 4, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@vrcprl
Copy link
Contributor

vrcprl commented Nov 4, 2024

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 vrcprl added the enhancement New feature or request label Nov 4, 2024
@partik03
Copy link
Contributor

@maxprilutskiy kindly this one to me

@vrcprl
Copy link
Contributor Author

vrcprl commented Nov 30, 2024

@partik03 assigned 🚀

@maxprilutskiy
Copy link
Contributor

up for grabs again!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants