How to translate xlf-Files

NAVFuchs
Member Posts: 77
Hi guys,
I am updating from Dynamics2017 to BC190 and at the moment I am facing how to translate the xlf-files
I have exported the old caption-translation from 2017 and I also generated a custom.de.xlf.
How can I now translate missing captions from en-US to de-DE?
I also tried to use the microsoft translation service, but I cannot upload the generated xlf-file
It also looks that only Microsoft Dynamics 365 Business Central (SaaS) is supported. Might
there be a difference to OnPrem?
How did you guys translated the app?
@update: I could now upload the original file, generated by VS, But I could not upload the
exported translation file. I Also used the tool to generate a xlf-format, but it is
not excepted as a valid format? Which format can I use for uploading and translating?
I am updating from Dynamics2017 to BC190 and at the moment I am facing how to translate the xlf-files
I have exported the old caption-translation from 2017 and I also generated a custom.de.xlf.
How can I now translate missing captions from en-US to de-DE?
I also tried to use the microsoft translation service, but I cannot upload the generated xlf-file
It also looks that only Microsoft Dynamics 365 Business Central (SaaS) is supported. Might
there be a difference to OnPrem?
How did you guys translated the app?
@update: I could now upload the original file, generated by VS, But I could not upload the
exported translation file. I Also used the tool to generate a xlf-format, but it is
not excepted as a valid format? Which format can I use for uploading and translating?
0
Answers
-
If you are converting existing code and already have the translations in some other xlf file that doesn't match names, IDs, etc., then you can use "NAB AL Tools" VS Code extension:
It has two very handy commands:
After it's done its work, mass-replace "[NAB: SUGGESTION]" and "[NAB: REVIEW]".
Then all you are left with are "[NAB: NOT TRANSLATED]", which, if you had everything translated in NAV 2017, should be mainly tooltips.
NAB AL Tools also has command to prepare xlf for DTS, so you might want to check that one out too0 -
Thanks a lot. I tried it out in it works great for me.
One thing remains:
After compiling a second time, after I have removed the text [NAB: REVIEW]Artikel etc.. the headline
remains and is not updated anymore , even the text [NAB: REVIEW] is already removed from the xlf-file.
It seems the translation does not be updated any more.
Did I miss something?0 -
When you manually intervene in a translation and there are no changes to the source, NAB seems to remove all its mentions. If you changed the source of the translation (such as caption, or label), then you would need to compile, then call the "NAB: refresh xlf files from g.xlf". If there are any new/changed elements, they will get added/changed and marked with NAB highlights.0
-
I tried to do it from the scratch, the call "NAB: refresh xlf files from g.xlf"" did not work for me or I
did it wrong.
But nevertheless after compiling and Opening BC it looks still like this:
It seems, the translation file is not used, or better said, not replaced anymore.
So I did not understeand, how BC manages and uses these xlf-files.0 -
It Looks to be solved. There is also a US-Version of xlf generated, which had these captions [NAB REVIED]. After I deleted these part of text, the translation seems to be perfect.
Thanks a lot1
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions