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

Convert alternative translations with prev/next context to ID-bound translations #4

Open
msoutopico opened this issue Sep 25, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@msoutopico
Copy link
Owner

This is a request for a new script that retrieves alternative translations when the type of context changes.

Background

When you change the XLIFF filter context option from prev/next to segment ID, all existing alternative translations are gone and need to be restored.

Expected functionality

In a project where the context option has been changed from prev/next to something else, the script finds any orphan translations with prev/next context in the working TM.

If there are any, it takes the orphan translation, finds the segment in the project that corresponds to that prev/next context, and then registers the orphan translation as the (ID-based) alternative translation of that segment.

@msoutopico msoutopico added the enhancement New feature or request label Sep 25, 2020
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

No branches or pull requests

1 participant