在新选项卡中打开链接
  1. Copilot 答案

    Create localizable labels - Finance & Operations | Dynamics 365

    • Learn about creating localizable labels, with a step-by-step process detailing creating label files, adding label strings, and requesting label files. 展开

    Overview

    This article explains how to create localizable labels for client components and … 展开

    Microsoft Learn
    1. Create a label file

    Use the developer tools to create a new label file for your control's area, or use an existing label file for your control's area. A control's area is determined by the owning team.… 展开

    Microsoft Learn
    2. Add label strings to the label file

    Use the developer tools to add label strings to the label file. Example for extensible controls:
    •Label file name: ClockControl
    •Label ID: Seconds… 展开

    Microsoft Learn
    3. Request the label file as a JavaScript file by using Resource manager

    Use the script loading tag to load the JavaScript file. The loading tag should reference the label file from /Resources/Labels, because the label resource controll… 展开

    Microsoft Learn
    4. Use localizable labels in HTML and JavaScript

    The following framework application programming interface (API) can be used in HTML (inside data-dyn-bind) or in JavaScript to access the labels. HTML
    JavaScript… 展开

    Microsoft Learn
    Troubleshooting

    If you have correctly created a label file, and the label has been deployed, you should be able to load the JavaScript version of the label file directly from the browser. You ca… 展开

    Microsoft Learn