InformationModel.SetTranslation(localizedText)
引数のプロパティに基づいて、既存のキーと関連付けられている変換を更新します。
void SetTranslation(LocalizedTextlocalizedText);
引数
- localizedText(LocalizedText)
- 更新するキーと関連する翻訳を識別するプロパティを持つTextId、Text、およびLocaleId付きの C# オブジェクト。
例
次の例は、
Key1
キーと関連付けられたロケールの en-US
の New translation
文字列を書き込む API を示しています。var localizedText = new LocalizedText("Key1", "New translation", "en-US"); InformationModel.SetTranslation(localizedText);
ご質問やご意見