Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Translation File

Posted on by 171
Greetings to all of you.

I am having trouble dealing with translation files.

The case : We have a sales invoice which must be printed in the language of the receipt.
 
First things first, we want the language code of the report , to be equal to the language code field in the customer's card and not in posted sales inv header.
I have already achieved that with the code below(trigger on aftergetrecord on slaes invoice header dataitem) and the fieldcaptions are successfully translated based on the language code field within the customer card.
 

However, when it comes to Labels , the system does not recognise the language that i need them to be translated ( in our case , we  need to translate to Greek).

I have inserted both labels within the labels report section and as variables.

 
 
I have copied the translation file that the system creates through ctrl+shift + b and change the target language.
 

And i have also added target translations to both labels variables and labels within the report section.

I even used state=translated as well.



But nothing works. I am stuck , so any help will be appreciated!

Thank you in advance all!
 
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,333 Super User 2024 Season 2 on at
    Translation File
    Hi, is the extension name set in origin correct?
     
    Hope the following helps.
     
    Thanks.
    ZHU
  • AntonisK Profile Picture
    AntonisK 171 on at
    Translation File
    Yes.

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    Translation File
    Have you added the translation feature to your app.json file as described here ?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,219 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,056 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans