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

[question] Is it possible to prevent translated/approved XML tags appearing in XLIFF translations? #8731

Closed
2 tasks done
epoberezkin opened this issue Feb 2, 2023 · 6 comments
Labels
question This is more a question for the support than an issue. wontfix Nobody will work on this.

Comments

@epoberezkin
Copy link

Describe the issue

We are using export/import localisations in iOS apps, so that the translated files are XLIFF - these tags create additional diff on export (Xcode removes them).

I already tried

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

Steps to reproduce the behavior

Simply commit any iOS translations

Expected behavior

Some setting to avoid adding translated/approved tags to XLIFF files

Screenshots

No response

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

@epoberezkin epoberezkin added the question This is more a question for the support than an issue. label Feb 2, 2023
@github-actions
Copy link

github-actions bot commented Feb 2, 2023

This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger.

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

@nijel
Copy link
Member

nijel commented Feb 2, 2023

These flags define the state of the string, omitting them would omit the string state as well.

@epoberezkin
Copy link
Author

right, so can we somehow prevent weblate from tracking these strings as exporting XLIFFs from Xcode overrides them... Not sure, maybe a better solution is to translate "Localised" files directly, without XLIFF import/export?

@epoberezkin
Copy link
Author

How would weblate track strings state if Localized files are used?

@nijel
Copy link
Member

nijel commented Feb 4, 2023

Many formats do not store state at all, in that case it is stored in the Weblate database only. But for formats which do support it, it is exposed.

@github-actions
Copy link

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 Feb 15, 2023
@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 20, 2023
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