-
Notifications
You must be signed in to change notification settings - Fork 4
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
[Feature request] XLF file validation #10
Comments
Great idea! I will look into this. |
I have added the initial implementation for this in feature branch feature/10-technical-checks. This introduces a command <trans-unit id="Table 2739814070 - Field 3834966961 - Property 62802879" size-unit="char" translate="yes" xml:space="preserve">
<source>A,B,C</source>
<target state="needs-adaptation">A,B,C,D</target>
<note from="XLIFF Sync" annotates="general" priority="1">Problem detected: The number of option members in the source and translation text do not match.</note>
<note from="Developer" annotates="general" priority="2"/>
<note from="Xliff Generator" annotates="general" priority="3">Table MyDummyTable - Field MyOption - Property OptionCaption</note>
</trans-unit> Running the command again after resolving the problem will also remove the note that was added automatically. @fvet Could you please check and let me know what you think about this? |
@rvanbekkum , this is what I had in mind, would be glad to test the new feature and provide feedback! |
I have created a new 0.1.6 release. |
It would be intesting if the XLIFF sync could also provide support to check the 'technical' quality of the translations:
These are issues partners / translators might struggle with and could results in wrong behaviour of the app.
Kind of the same rules we had in mergetool.com, calculate technical check comment...
In fact, MS should ensure these rules are in place when publishing / building an app, but I guess the Idea would dissappear in their backlog ...
The text was updated successfully, but these errors were encountered: