1. 翻訳マッピングの更新

翻訳マッピングの更新

Version:
日本語翻訳に関する免責事項

このページの翻訳はAIによって自動的に行われました。可能な限り正確な翻訳を心掛けていますが、原文と異なる表現や解釈が含まれる場合があります。正確で公式な情報については、必ず英語の原文をご参照ください。

コネクタは、Microsoft D365 と Sitecore Content Hub 間の言語コードの直接マッピングを可能にするマッピング設定を提供します。既定では、コネクタは既存の言語コードのマッピングを自動的に試みます。D365 の言語コードが Content Hub の目的のコードと一致しない場合は、カスタム キー値マップをサポートするように翻訳マッピング ファイルを変更できます。

注意

コネクタの言語マッピングでは、大文字と小文字が区別されます。

翻訳マッピングを更新するには:

  1. producttranslations-mapping-config.json ファイルを見つけて開きます。

  2. entity.localization にマッピング プロパティを追加します。

     { 
    "dataSource": "cr15a_ecoresproducttranslationentities?$orderby=modifiedon desc",
    "operations": [
    {
    "types": ["create", "update"],
    "config": {
    "entity": {
    "sourceIdentifier": "cr15a_productnumber",
    "targetIdentifier": "D365ProductNumber",
    "targetType": "M.PCM.Product",
    "localization": {
    "source": "cr15a_languageid",
    "mapping": { 
    
    }
    
    },
  3. 各 D365 言語コードを Content Hub 言語コードにマッピングするキーと値のペアを追加します。

     { 
    "dataSource": "cr15a_ecoresproducttranslationentities?$orderby=modifiedon desc",
    "operations": [
    {
    "types": ["create", "update"],
    "config": {
    "entity": {
    "sourceIdentifier": "cr15a_productnumber",
    "targetIdentifier": "D365ProductNumber",
    "targetType": "M.PCM.Product",
    "localization": {
    "source": "cr15a_languageid",
    "mapping": { 
    "ru": "ru-RU",
    "zh": "zh-CN"
    }
    
    },   
  4. 変更を保存し、更新されたマッピング ファイルをアップロードします。

この記事を改善するための提案がある場合は、 お知らせください!