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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Batch job with Label ID Language issue

(0) ShareShare
ReportReport
Posted on by

This has been posted in the past by another user, with the exact same issue I am currently encountering with, I suppose, which hasn't been solved, as far as I understand.

Link 1: https://community.dynamics.com/ax/f/33/t/250714

Link 2: https://community.dynamics.com/ax/f/33/t/250549 (Same user as the above link)

I will try to explain with pictures.

Currently, I am trying to run a batch job, under a user with Japanese language in User option setting.

The job executed, with messages and error messages displayed as label IDs, not the messages. Have a look below. It is a screenshot from from the batch job:

_21714C98_1.jpg

The next screenshot shows the user's language is indeed Japanese inside the User option:

_21714C98_2.jpg

***Now, I would like to mention that under System Administration >> Batch Job >> Batch Detail >> Log, I could see the messages, without the label ID. However, the strFmt %1, %2, etc did not get replaced by the correct variables. (I did use pack and unpack, if that makes any differences)

Such a problem did not exist when I execute the program without running the batch.

_21714C98_3.jpg

Can anyone point me in the right direction by telling me what and where did I do wrongly?

Thanks in advance.

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    301,075 Super User 2025 Season 2 on at

    Hi Lincoln,

    Actually your batch is using the labels in the Japanese language, but the variables are not getting replaced. What exact batch job did you start? Is it a standard job or custom? When switching to English, do you get the correct variable replacements?

  • Community Member Profile Picture
    on at

    Hi Andre

    Thanks for the reply.

    Apology for my lack of detail in the explanation.

    It is a custom job, created using X++.

    I havent got the chance to try out running the batch job under an English environment. I will post the result with screenshots once I could (currently debugging other more nasty bugs)

    Also, you mentioned that my batch is using the labels in the Japanese language, but that is only true in the third screenshot (with the custom created messages).

    If you were to look inside the 1st screenshot, you could see that the messages were not messages but, were left as Label Ids.

    regards

    Lincoln

  • André Arnaud de Calavon Profile Picture
    301,075 Super User 2025 Season 2 on at

    Hi Lincoln,

    I did miss the white space at the right on the first screenshot. Can you tell if these label IDs are exactly the same as those displayed correctly on the third screenshot?

  • Community Member Profile Picture
    on at

    Hello André

    Thank you so much for the reply again.

    First of all, I have tested the custom batch job, running under an English environment (using the same user which I tested with, under a Japanese environment) and the result is as follows.

    The first screenshot below shows that the label is working as intended, showing messages instead of gibberish label ID. The navigation is from Batch job >> Log:

    4401._21714C98_2.jpg

    In the second screenshot, it shows the label is working as intended too, with variables printing out correctly. Note that the second screenshot was a navigation from Batch job >> View tasks >> Log, different from the first screenshot's navigation pattern.

    4401._21714C98_2.jpg

    And, to answer your newly posted question directing at "Can you tell if these label IDs are exactly the same as those displayed correctly on the third screenshot?": (Questions directing at my first post of the thread)

    Yes, the label IDs are exactly the same, with the only difference that inside the first screenshot, the labels are left as label IDs, while inside the third screenshot, it was printed with the actual message, with the variables not being printed out correctly (evidently shown with the %1, %2, etc signs inside the messages)

    If you need more info, please do shoot it out. I will try to provide as much info as I could.

    Thank you again for taking the time to read and always trying to help out others.

    You have all our respect as a fellow Dynamics developer.

    Regards

    Lincoln

  • Sukrut Parab Profile Picture
    71,710 Moderator on at

    I do see your problem, English labels are coming correctly whereas Japanese are not.  is your batch job and both the label files are part of same package ? did you try to restart batch service ?

  • Community Member Profile Picture
    on at

    Hello Sukrut

    Sorry for the late reply Sukrut.

    Yes, that is the problem which I am still currently facing. Yes, they are both in the same package/ project. Yes, tried restarting batch service several times, without much luck.

    Also, I have sent a ticket to the offial microsoft support team, awaiting for their answer.

    This is getting more urgent than before, as time passes by...

    Regards

    Lincoln

  • Verified answer
    Community Member Profile Picture
    on at

    This is just an update after half a year.

    Our team has found out that this is actually an issue from Microsoft side, and they fixed it in update 15.

    This issue might not just be restricted to Japanese, but also other languages.

    If anyone experienced any similar problem to this, try to send a ticket to Microsoft and have a check with them.

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans