Skip to main content

Notifications

Announcements

No record found.

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

XLIFF file: change default source language

(0) ShareShare
ReportReport
Posted on by 260

Hi all, 

is there a way to change default source language (when you build an app) on XLIFF file from en-US in another language? I would like to develop an app in a specific language and then to make a xlf file in en-US.

Thank you for your replies.


DZ

  • Damiano Zaniboni Profile Picture
    Damiano Zaniboni 260 on at
    RE: XLIFF file: change default source language

    Yes, I've tried to use it for the translations and it works fine, but I would like to know if there is an automatically way to change default source language when the system create automatically App.g.xlf file after publish (or package) the app. Because everytime I must change the App.g.xlf file manually.

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 74,141 Super User 2024 Season 2 on at
    RE: XLIFF file: change default source language

    Hi, yes you can do it. I tried before. First you can find the standard translation packages in On-Premises installation package provided by Microsoft, then use it as translation source file.

    ~\Dynamics.365.BC.33504.W1.DVD\Applications\BaseApp\Source

    pastedimage1639437751489v2.png

    pastedimage1639437877006v3.png

    pastedimage1639437920546v4.png

    Hope this will help.

    Thanks.

    ZHU

  • Suggested answer
    Inge M. Bruvik Profile Picture
    Inge M. Bruvik 32,748 Super User 2024 Season 1 on at
    RE: XLIFF file: change default source language

    You can try to change the "supported locals" setting in your app.json file

    The order for the languages should define the default.

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/devenv-json-files

    Anyhow it is best practice to always use English as your language when you do you BC development..

  • Damiano Zaniboni Profile Picture
    Damiano Zaniboni 260 on at
    RE: XLIFF file: change default source language

    Thank you, but I just read the official documentation. I don't find any documentation about to change the source language. If I press CTRL+SHIFT+B the system creates always source language = en-US, but I would like to force this one with a specific language (automatically), if it's possible.

    DZ

  • Bodhi Profile Picture
    Bodhi 554 on at
    RE: XLIFF file: change default source language

    please refer to : docs.microsoft.com/.../2-translation-files

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!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,492 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans