Hi
I am currently working on upgrading code from ax2012.
I was wondering how to import label files without using the modelstore codeupgrading tool.
Thanks.
*This post is locked for comments
There are only a few differences with AX2012 label files and D365FFO label files.
You can quite easily create your own version of SysLabelFileExport in AX2012 to handle those changes. Then you can export label files from AX2012 and add them to D365FFO label folders in your development machine.
1) Insert " ;" (space and semicolon) in the beginning of each line that doesn't start with "@". These are the label descriptions.
2) Change the file name, in AX2012 it's "ax" + prefix + language ."ald". For exampe axMYLen-us.ald. For D365 you must change it to prefix + "." + language + "." + "label.txt". For example MYL.en-us.label.txt
3) Use UTF-8 encoding
Ok, i'll try that. But when changed my file. How do i import it to D365? I can't seem to find the function.
There is no import function, you will just have to place the file on the correct folder.
My instructions cover only the case where you already have an older version of this label file in D365. In that case, simply replace the old file in AOSService\PackagesLocalDirectory\[YourPackage]\[YourModel]\AxLabelFile\LabelResources\[Language]\ - and commit the new version to VSTS.
If you want to bring completely new label files from AX2012, you have to add a new "pointer file" in AOSService\PackagesLocalDirectory\[YourPackage]\[YourModel]\AxLabelFile\ folder. Observe the existing files to understand how it works.
I have taking inspiration of other label files and created my own in AOSService\PackagesLocalDirectory\[YourPackage]\[YourModel]\AxLabelFile\ folder. But i does'nt show. Am i missing a step?
I just tried it for myself and it works.
I created a new file in AOSService\PackagesLocalDirectory\[YourPackage]\[YourModel]\AxLabelFile\, and in that file added reference to the actual new label file in AOSService\PackagesLocalDirectory\[YourPackage]\[YourModel]\AxLabelFile\LabelResources\[Language]\ . Then I refreshed the AOT and the new file shows there.
If you have issues, please share screenshots of what you have done and what's in your files.
Filepath for my label file
Some of the content in my label file
Your label file is not in the right location. Please re-read my instructions and make sure that your label file and the "pointer file" are in the right place.
It worked, thank you very much.
And thanks for good guidance and fast response.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Community Member 4
Martin Tocauer 4
Nayyar Siddiqi 2