-
Notifications
You must be signed in to change notification settings - Fork 5
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
Languages issue #39
Comments
I first thought it was related to the latest changes I added for bidirectionnal element handling but after more carefully reading the issue description, I realize it might have been a latent issue from a long time ago, linked to how the plugin retrieve the document language. If i understand correctly, even if the authors are setting a different document proofing language in the word ui, the wrong language code is reported. By default the plugin was looking into the default styles incorporated in the document but the might not how word is storing this "proofing language" information. I'll do some research on that. |
A small summary of the research on where is stored the "document language" within word Currently in the plugin conversion process, the main language is extracted from the language associated with the default style in the When trying to change the document style with word proofing language selector or with the language button provided in the plugin ribbon, no changes were noticed in this field. The following actions are planned next:
Based on the results, i think the following options are available
A small note : for each runner with a dedicated language that is not bidirectionnal, a span with the targeted lang should be defined in the result with the correct associated language. |
- Computing a list of language in document, order by a counter of runner using it in the document - Modified conversion parameters form to propose a list of language code - Modified xsls to use the new language parameter as document main language if provided
- For automatic pagination, inline pagenum elements in paragraph (fix #40) - A new language selector is provided in conversion parameters (fix #39) - Document languages are computed by checking the text languages instead of default style, that was not updated by Word language dialogs in tests. - Fixed a language test for bdo element
Fixed : a language selector is now provided, with languages computed in order of appearance in the document (if tagged correctly in the document) |
Issue extracted from Pipeline_App_Issues_Tracker.xlsx
@prashantverma2014 if you can gather additionnal informations regarding addin version used by testers and example documents with expected results, i will look at them asap.
The text was updated successfully, but these errors were encountered: