Hidden Feature: Comments in ML Properties

Today I stumbled across a hidden feature on MultiLanguage properties.

You can add comments on these…

Whenever you are in the MultiLanguage Editor (the pop up where you can add translations to anything).

MLEditor

You can add as Language “Comment” and any value. It will always be positioned at the top of your editor.

MLEditor_Comment

If you click OK, then system will translate this into something as ENU=Value;NLB=TranslatedValue

The Comment Language is actually translated to @@@ in the background.MLProperty

If you start looking around in the code, you might run into some of these, added by Microsoft themselves. Sometimes holding a sample of what the output might be, sometimes describing the % parameters and sometimes just holding descriptions.

Enjoy adding your own comments 🙂

EDIT:

It seems that some examples out of default NAV may also help in understanding the above:

– Table Vendor Ledger Entry – Global Text Constant FieldIsNotEmptyErr
           @@@=”%1=Field;%2=Field”;ENU=%1 cannot be …..
– CodeUnit Company-Initialize – Global Text Constant SEPACTCodeTxt
           @@@=No need to translate – but can be translated at will.;ENU=SEPACT…
– CodeUnit Purch.-Post – Global Text Constant Text061Qst
           @@@=”One or more reservation entries exist for the item with No. = 1000, Location
Code = SILVER, Variant Code = NEW which may be disrupted if you post this
negative adjustment. Do you want to continue?”;ENU=”One or more reservation
entries exist for the item with %1 = %2, %3 = %4, %5 = %6 which may be disrupted if
you post this negative adjustment. Do you want to continue?”…
– Page Service Items – Global Text Constant Text000
           @@@=”%1=Cust.””No.””  %2=Cust.Name”;ENU=%1 %2;FRB=%1 %2;NLB=%1 %2
– Page Profile Card – Global Text Constant Text000
           @@@={Locked};ENU=RoleCenter;FRB=RoleCenter;NLB=RoleCenter
– And so on 🙂

2 thoughts on “Hidden Feature: Comments in ML Properties

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.