The AL developer preview is still evolving with frequent updates. Follow us on the Dynamics NAV Team Blog for the announcements.
Sets the values of a AL text constant for the different languages that are available in Dynamics 365 for Finance and Operations, Business edition.
The support for using the ML properties, such as CaptionML and TooltipML, is being deprecated, so it is recommended to refactor your extension to use the corresponding Caption or Tooltip property, which is being picked up in the .xliff file. For more information, see Working with Translation Files.
Local and global text constants in the AL code of objects.
The ConstValue property is enabled for multiple languages. It contains a list of text values for the languages that are available in Dynamics 365 for Finance and Operations, Business edition. The value that is used is selected according to the user's language settings. For more information, see Multilanguage Development.
The ConstValueML property has the following format.
is the Windows three-letter language ID. is the text string for the language.
If you have more than one language entry, then separate each consecutive entry with a semicolon.
The following example illustrates a ConstValueML property value.
In this example, values are set for Danish (DAN), English (United States), Spanish Traditional Sort (ESP), and French Standard (FRA).