-
Notifications
You must be signed in to change notification settings - Fork 19
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
Invalid attribute name error on merge and normalizing step #121
Comments
@sporatrx I'd suspect a malformed translation file. Would it be possible to share your configuration (angular.json) and your translation file either here or privately? (daniel-schreiber@gmx.de) |
@daniel-sc Sorry for the wait! I had to clarify if it is okay to share these files. I sent you an email with the needed files to your address. |
Hi @daniel-sc and @sporatrx I've been running into the same problem for projects. When you mention what you want shared from angular.json, do you mean just the following?
Sadly I can't attach XLF files here directly. |
fix: handle id with escaped characters - fixes #121
@sporatrx @mjschranz can you please check if v2.13.1 resolves it for you? |
I can also verify this fixed the issue I saw.
Thanks!
…On Wed, Nov 27, 2024, 8:50 a.m. sporatrx ***@***.***> wrote:
I can verify that extracting strings now works again for me.
image.png (view on web)
<https://github.com/user-attachments/assets/40789c49-d90c-4929-96b4-568d9a5ba56c>
Thank you very much for the quick help.
—
Reply to this email directly, view it on GitHub
<#121 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAG3TZIVGGLMXKGY2YXIPVD2CXEZBAVCNFSM6AAAAABSHIK25CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBTHEZDQMJXGU>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@daniel-sc Related to this error, I'm seeing something else similar after using this newer 2.13.1 patch but in another project that also uses XLF files. The 2.13.1 patch did still work for one project. Any thoughts? What info might you need> |
@mjschranz Please create a new bug for this and share the relevant xlf files and angular.json (preferably in the bug - alternatively to daniel-schreiber@gmx.de) |
Bug Description
I am experiencing a problem executing extract-i18n on an existing project of mine since some update as it did work before. Unfortunately I do not know when this error did start popping up and to which update it thus might be related.
When executing extract-i18n on my project it successfully extracts the strings into my messages.xlf file but fails at the next step when trying to merge and normalize the first localized messages.xlf file (In my case it is named messages.de-DE.xlf.) with the error:
This seems to be some kind of sax.js error as far as I understand. I checked both the messages.xlf and messages.de-DE.xlf files if they are valid XML. Both are fine.
Can you point me into the right direction what might cause this error? I can also provide you the files in question if needed. I first have to check back with my employer though if this is okay.
Expected behavior
All xlf files should be merged and updated with newly extracted strings from the messages.xlf file.
Version
The text was updated successfully, but these errors were encountered: