web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Dynamics 365/AX - How to import label files from AX 2012

(0) ShareShare
ReportReport
Posted on by 275

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

I have the same question (0)
  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: Dynamics 365/AX - How to import label files from ax2012

    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

  • Ashein Profile Picture
    275 on at
    RE: Dynamics 365/AX - How to import label files from ax2012

    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.

  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: Dynamics 365/AX - How to import label files from ax2012

    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.

  • Ashein Profile Picture
    275 on at
    RE: Dynamics 365/AX - How to import label files from ax2012

    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?

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: Dynamics 365/AX - How to import label files from ax2012

    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.

  • Ashein Profile Picture
    275 on at
    RE: Dynamics 365/AX - How to import label files from ax2012

    2248.1.jpg

    Filepath for my label file

    Some of the content in my label file

  • Suggested answer
    nmaenpaa Profile Picture
    101,160 Moderator on at
    RE: Dynamics 365/AX - How to import label files from ax2012

    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.

  • Ashein Profile Picture
    275 on at
    RE: Dynamics 365/AX - How to import label files from ax2012

    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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Community Member Profile Picture

Community Member 4

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#3
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans