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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

How to translate a text constant in Nav

(0) ShareShare
ReportReport
Posted on by

Hello Team,

I need your quick help to show me how I could do translation for a text constant; step by step is appreciated.

Now, I can create a translation by myself in C/AL code; but it works well for variable because I can edit/assign new value to it. However, for a text constant, I cannot assign a new value to it.

Can you suggest how I can change the value for a text constant  or step by step I can translate a text constant for a language to another language?

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Mohana Yadav Profile Picture
    60,993 Super User 2025 Season 2 on at

    You can enter text constant in multiple language.

    go to text constant and press F6 on ConsValue.

    Here it will allow us to enter in multiple languages.

  • navStuttgarter Profile Picture
    474 on at

    TranslationConstant.png

    Is this what you are looking for

  • Suggested answer
    Alexander Ermakov Profile Picture
    28,096 on at

    In addition to previously mentioned, this might be also interesting to you: nav-magno.be/.../hidden-feature-comments-in-ml-properties

  • Suggested answer
    Community Member Profile Picture
    on at

    You can go to that particular variable (Global or Local) > Select that variable > Click Properties (Shift + F4) > Use AssitEdit Button for ConstValueML Property.

    Add you preferred language and related Value.

  • Suggested answer
    RockwithNav Profile Picture
    8,600 Super User 2025 Season 2 on at

    Hey Hugto,

    In the Text Constant ConstValue you will find a assist trigger to select for the language you want. There you can define for any of the language.

  • Community Member Profile Picture
    on at

    Hi Mohana,

    thanks for your quick answer: I know that functionality. However, I want to make a table where users can just go and maintain their language code, text in english, and the text in their language. The report then just run and translate the text to expected language.

    We can do it for variables as we can change the value of variables; but for text constant we cannot change the value in run time. so I seek for your help.

  • Verified answer
    Mohana Yadav Profile Picture
    60,993 Super User 2025 Season 2 on at

    As you mentioned, we can do it only using variable and not possible via text constant.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans