web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Selected language does not provide correct translations

(0) ShareShare
ReportReport
Posted on by 109

There is a pretty strange behavior going on in our NAV.

The default language has been German (Switzerland), but the language id is providing the wrong translations for our reports, since we are using the German (Germany) id in all of our reports.

I switched the language from German (Switzerland) to German (Germany) hoping this would solve the problem, but after the restart, our NAV is displaying most of it in englisch.

Do I miss anything?

The terms should not change at all, when I switch from German (Switzerland) to German (Germany).

German (Switzerland)

German (Germany)

I have the same question (0)
  • Suggested answer
    Bilal Haider Profile Picture
    408 on at
    RE: Selected language does not provide correct translations

    Can you name the report that you are running ?

  • Suggested answer
    Bilal Haider Profile Picture
    408 on at
    RE: Selected language does not provide correct translations

    If it is a customer or vendor related report then it will show the report in the language assigned on customer or vendor card. In NAV the language of reports also depend upon language code on customer/vendor card. Change the language code of customer/vendor and hopefully you'll get desired result.

    Let me know if it helps or not. Then we can look at it more.

    Thanks

  • Yupp90 Profile Picture
    109 on at
    RE: Selected language does not provide correct translations

    I've set the Langauge code for all customer/vendor cards. It still does not work as intended. I have checked the Langauge, that will be selected for the report.

    In the Sales Invoice Header - OnAfterGetRecord section the code is like

    IF GLOBALLANGUAGE = Language.GetLanguageID("Language Code") THEN

       CurrReport.LANGUAGE := Language.GetLanguageID("Language Code")

    ELSE

       CurrReport.LANGUAGE := Language.GetLanguageID('ENU');

    //message line added to see what is passed

    MESSAGE('CurrReport: %1, Language: %2, Global %3, Language Code: %4', CurrReport.LANGUAGE, Language.GetLanguageID("Language Code"), GLOBALLANGUAGE, "Language Code");

    The message line is returning the following

    CurrReport: 2055, Language: 2055, Global: 2055, Language Code: ENG

    Now I know that 2055 is the code for German (Switzerland).

    It's the same code all users have placed for language code.

    If I change the language code for my account to German (Germany), the output is

    CurrReport: 1031, Language: 1031, Global: 1031, Language Code: ENG

    But then my NAV client is partially in englisch and in german and I don't understand why this is the case.

  • Suggested answer
    Bilal Haider Profile Picture
    408 on at
    RE: Selected language does not provide correct translations

    In the code the language code for English is ENU but in the message you are getting ENG. Please synchronize these as well.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 2,762

#2
Sumit Singh Profile Picture

Sumit Singh 2,573

#3
YUN ZHU Profile Picture

YUN ZHU 1,930 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans