Closed RoieSantos closed 4 years ago
Hi, This is not a bug but is related to the fact that ML properties should be used anymore.
Please have a look here : https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-work-with-translation-files
In your case, you should use PromotedActionCategories property and translate it in a XLIFF file.
Closing this issue as a good answer and some links to the documentation were provided.
As a side note, this diagnostic is not reported by CodeCop, but by the AL compiler itself
Hi qutreson,
Sorry for my late reply on this, We have try the above solution you sent and still not able to achieve the multi language functionality via translation files. Here are screenshot of our testing
We also did copy the auto generated .xlf file to create a new en-AU.xlf file to support EN-AU language
In the newly created .xlf file we change the target-language to "en-AU"
In our Pageextension we only put Caption in the properties .. since the CaptionML or PromotedCategoryML is being deprecated.
We did double check if the translation file has the caption properties of the said pageextension
Below are the result of the testing.
As per our testing only the language English(United States) "en-US" achieved the caption properties.
Please advise If we miss on some setup of we are lacking of something? Appreciate you reply
Thank You
As per our online documentation (see here), you have to add a <target>
element for each entry under the <source>
. If you don't specify the target, then the entry is not considered.
Hi qutreson,
Thanks for the info, It is all working now
Appreciated your help
Thank you
Describe the bug Encounter this warning upon updating our extensions to BC16.
To Reproduce
Screenshot
Can we ask what is the best action needed to eliminate the warning. Thank you.
Versions:
AL Language: 5.0.254558 Business Central: 16.0.11209.0 (Preview)