Find all incomplete ML captions

greys
Member Posts: 29
Hello NAV enthousiasts!
We are in the process of making our solution ready for deployment in other languages than german. Hence the ML-captions throughout the application must be ENU and DEU. I want to check for inconsistencies concerning the MultiLanguage captions throughout the application.
Is there some tooling available to check if all fields have ENU as well as DEU captions? That would save me a lot of time!
Regards,
Greys
We are in the process of making our solution ready for deployment in other languages than german. Hence the ML-captions throughout the application must be ENU and DEU. I want to check for inconsistencies concerning the MultiLanguage captions throughout the application.
Is there some tooling available to check if all fields have ENU as well as DEU captions? That would save me a lot of time!
Regards,
Greys
0
Comments
-
Please check Object manager tool. in that we have an option check missing translations0
-
Here find some tips including reference to another translation tool: How-to: Efficiently Translate UI.
In the olden days when moving to Navision Solutions (i.e. v3.0) a simple command line tool was available which exactly did what you are looking for. Unfortunately this 32 bits exe is not running any longer on Windows since we left XP. I mention this one also in the post I refer to above.
Follow this link to my blog to see more on posts translations.0 -
There is also a cmdlet Test-NAVApplicationObjectLanguage which can be used for all current object types (i.e. not Forms, Dataports, Classic Reports)
https://msdn.microsoft.com/en-us/library/dn762388%28v=nav.80%29.aspx
If you want to use that, make sure that only the cmdlets supplied with NAV 2015 Cumulative Update 2 or higher are employed, the initial versions had some bugs.Kai Kowalewski0 -
Also you can use Mergetool (www.mergetool.com) to find the missing translations.0
-
I just played around with Test-NAVApplicationObjectLanguage cmdlet.
It looks like it shows the Object Type, Object ID, LCID and the TranslateLine... which is something like "R123456-Q1102112541-P54215P-A2055"
And now what? How am I supposed to know where the missing caption actually is in that report?
0 -
And now what? How am I supposed to know where the missing caption actually is in that report?
https://msdn.microsoft.com/en-us/library/dd301161(v=nav.90).aspx
Kai Kowalewski0 -
In NAV 2017 Build 17501 (CU8), this does not seem to find missing CaptionML for Fields. It finds missing OptionCaptionML but not CaptionML? Is this a bug? Expected functionality? I thought that in NAV 2016 these were found
0 -
I just played around with Test-NAVApplicationObjectLanguage cmdlet.
It looks like it shows the Object Type, Object ID, LCID and the TranslateLine... which is something like "R123456-Q1102112541-P54215P-A2055"
And now what? How am I supposed to know where the missing caption actually is in that report?
R = Report
Q = TextConstant
0 -
It looks like it shows the Object Type, Object ID, LCID and the TranslateLine... which is something like "R123456-Q1102112541-P54215P-A2055"
but there is no "R123456-Q1102112541-P54215P-A1033"(or whatever language ID you are using)
The NAV translation "tool" was designed for specific process
1. Export current language (usually EN-US, LangID 1033)
2. Translate EVERYTING in the text file, replace LangID with new lang id
3. Import translated language file
There was no sophistication assumed, finding/translating only missing etc.
The file structure as you've probably notices is not realy suitable for easy processing in Excel
I am personally using another trick. I am exporting objects into a text file, loading text definition into Notepad++ and then marking all the lines where CaptionML (or OptionCaptionML) looks like *CaptionML=E*
That marks for me all the lines where the caption has only one language. Then I can manually update the object text file and import it back
This is still tedious manual work. But I guess when it comes to translation no matter what tool you use it always ends up at someone manually doing the translation
SlawekSlawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
This is the powershell script I use tot check for ENU and NLD in a text export.
Import-Module 'C:\Program Files\Microsoft Dynamics NAV\100\Service\NavAdminTool.ps1'
Import-Module 'C:\Program Files (x86)\Microsoft Dynamics NAV\100\RoleTailored Client\Microsoft.Dynamics.Nav.Model.Tools.psd1' #-WarningAction SilentlyContinue
Import-Module 'C:\Program Files (x86)\Microsoft Dynamics NAV\100\RoleTailored Client\Microsoft.Dynamics.Nav.Apps.Tools.psd1' #-WarningAction SilentlyContinue
$File = 'D:\Merge\forms.txt'
$Result = Test-NAVApplicationObjectLanguage –Source $File -LanguageId ENU,NLD -PassThru
write-host '# T=Tabel, N=Page, R=Report, X=XMLPort'
write-host '# C=Control, Q=Textcontstant, G=Page Action, N=RequestPage, T=Label, F=Field, D=DataItem'
write-host '# 1033=ENU, 1043=NLD'
ForEach ($Line in $Result){
#write-host
$C = ($Line.TranslateLines) -split ':'
foreach ($L in $C){
write-host $L
}
}
0 -
To my 2017/10/20 post, the Test-NAVApplicationObjectLanguage does not return an error when ALL CaptionML are missing. That is, if I add a field to a table and don't specify ANY caption (ENU, ENG, SVE, ENC, etc) then Test-NAVApplicationObjectLanguage does not list this as an error. I think it should.
Am I missing something?0
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