Pages

Tuesday, 28 May 2013

Labels?


Labels?

Labels are used to localize strings in Dynamic AX. A label start with a @ followed by a module identification and a label number.
A label @SYS12 may translate to "Account/Group number" in English and to "Konto-/Gruppennummer" in German.
When you as a developer use labels you should create a new label-file so your string customizations will be translatable. And even if your customization is for one language only it is best practice to make a label because you can reuse terms within your customization.
The label strings are stored in an file with the extension ”.ald”. You will have to make one file for each language you make. The complete filename will a concatenation of “ax”, a “label module id” and “language id”. The system auto-creates two other files with the extension ".ali" and ".alc".
File name
Usage
axSYSen-gb.ald
Label source file (in Ansi or UTF-8)
axSYSen-gb.alc
Label comments (binary, auto-created from source file)
axSYSen-gb.ali
Label index (binary, auto-created from source file)

No comments:

Post a Comment