How-to force NAS to use a specific language in NAV2013
kasper.jensen@logica.com
Member Posts: 5
I am running a support case with MS at the moment as controlling GLOBALLANGUAGE in NAS via Job Queue does not work in NAV2013 :-(
I have an international client where the Danish product dvd where used for the base installation. Afterwards additional languages for NL, FRA etc. have been installed.
When Job Queue is running it is in Danish which also means that the English user does not understand the runtime errors captured in the Job Queue Entry Log - is there some kind of setting or dll file I can swap on the NST/NAS server to force all execution in English (1030)?
/Kasper
I have an international client where the Danish product dvd where used for the base installation. Afterwards additional languages for NL, FRA etc. have been installed.
When Job Queue is running it is in Danish which also means that the English user does not understand the runtime errors captured in the Job Queue Entry Log - is there some kind of setting or dll file I can swap on the NST/NAS server to force all execution in English (1030)?
/Kasper
0
Comments
-
Add GLOBALLANGUAGE(1033); in Codeunit 450 OnRun trigger and try..0
-
Hi Mohanna,
Been there done that - does not work :-(
PS: It works in NAV2009.
/Kasper0 -
How are you running the NAS?0
-
Via Job Queue, startup codeunit =4500
-
-
Waldo's solution certainly works from a technical point of view. But we all know that not all users speak English (or just don't want to because they are very proud of their native language like the french). So, it's not just a topic of get it to run but also of how are messages in Job Queue Log Entry displayed."Money is likewise the greatest chance and the greatest scourge of mankind."0
-
Hi Mark,
Thx for your input. I believe it will solve my problem but limit the solution to using the same language for all Job Queues (this is ok as a temporary workaround).
Currently I am trying to change the Globallanguage just before the new background session is started in CU451 as I want to control this per Job Queue Entry - see example below:
Process(VAR JobQueueEntry : Record "Job Queue Entry")
COMMIT;
//{CGITS/001/START}
// Not support by Microsoft at the moment.
StandardLanguage := GLOBALLANGUAGE;
IF (JobQueueEntry."Language ID" <> StandardLanguage) THEN
GLOBALLANGUAGE := JobQueueEntry."Language ID";
//{CGITS/001/STOP}
AttemptToRun := TRUE;
WHILE NOT Success AND AttemptToRun DO BEGIN
Success := CODEUNIT.RUN(CODEUNIT::"Job Queue Start Codeunit",JobQueueEntry);
IF NOT Success THEN BEGIN
NoOfAttempts := NoOfAttempts + 1;
AttemptToRun := NoOfAttempts < JobQueueEntry."Maximum No. of Attempts to Run";
END;
END;
//{CGITS/001/START}
// Not support by Microsoft at the moment.
IF (StandardLanguage <> GLOBALLANGUAGE) THEN
GLOBALLANGUAGE := StandardLanguage;
//{CGITS/001/STOP}0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 250 Dynamics CRM
- 102 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

