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

XLIFF file traslation with DEEPL #11265

Closed
2 tasks done
emartynov opened this issue Mar 24, 2024 · 7 comments
Closed
2 tasks done

XLIFF file traslation with DEEPL #11265

emartynov opened this issue Mar 24, 2024 · 7 comments
Labels
question This is more a question for the support than an issue. wontfix Nobody will work on this.

Comments

@emartynov
Copy link

Describe the issue

Hi people,

I'm trying to translate Hedy.org file via xliff export/import and DeepL.
After exporting, I tried to upload a file, and I got a message in an invalid file format. Unfortunately, DeepL doesn't say anything about the error. I've tried to use the online xliff file validator and it showed error Invalid attribute in <trans-unit>: weblate-flags.

How can I proceed?

I already tried

  • I've read and searched the documentation.
  • I've searched for similar filed issues in this repository.

Steps to reproduce the behavior

  1. Export xliff file
  2. Try to upload to DeepL over API
  3. Get error invalid file format

Expected behavior

File is imported

Screenshots

Screenshot 2024-03-24 at 14 26 44 Screenshot 2024-03-24 at 14 26 38

Exception traceback

No response

How do you run Weblate?

weblate.org service

Weblate versions

No response

Weblate deploy checks

No response

Additional context

No response

@emartynov
Copy link
Author

Might be false alarm since DeepL expects xliff file format 2.1 and weblate is exporting 1.1 version.

@emartynov
Copy link
Author

Ok, further investigation found that xliff 2.x is not supported and looks like I should close this issue.

@nijel
Copy link
Member

nijel commented Mar 25, 2024

The weblate-flags attribute is indeed not part of the XLIFF standard, see https://docs.weblate.org/en/latest/formats.html#translation-flags

Why not use DeepL integration in Weblate? See https://docs.weblate.org/en/latest/admin/machine.html#deepl

@nijel nijel added the question This is more a question for the support than an issue. label Mar 25, 2024
Copy link

This issue has been marked as a question by a Weblate team member. Why? Because it belongs more to the professional Weblate Care or community Discussions than here. We strive to answer these reasonably fast here, too, but purchasing the support subscription is more responsible and faster for your business. And it makes Weblate stronger as well. Thanks!

In case your question is already answered, making a donation is the right way to say thank you!

@emartynov
Copy link
Author

emartynov commented Mar 25, 2024 via email

@nijel
Copy link
Member

nijel commented Mar 25, 2024

It can also be used to translate everything, see https://docs.weblate.org/en/latest/admin/continuous.html#automatic-translation

Copy link

github-actions bot commented Apr 9, 2024

This issue has been automatically marked as stale because there wasn’t any recent activity.

It will be closed soon if no further action occurs.

Thank you for your contributions!

@github-actions github-actions bot added the wontfix Nobody will work on this. label Apr 9, 2024
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question This is more a question for the support than an issue. wontfix Nobody will work on this.
Projects
None yet
Development

No branches or pull requests

2 participants