1
角度を取得するために、dash.title
とスパンテキストerrors.correct
のラベルを翻訳するには、次のhtmlコードがあります。国際化ファイル内anglejs i18nファイルから値を取得するためのtranslate-value
<label translate="dash.title"></label>
<span class="success text-small" translate="errors.correct" translate-values="{ fieldname: 'dash.title' | translate }"></span>
私errors.correct
は、このようなものです:ので、私のfieldname
がlabel
から値を取得する必要があり
"errors": {
"correct": "The « {{fieldname}} » is correctly filled out!"
}
、それはラベルテキストと同じでなければなりません。 なぜこの設定が機能していないのですか?解決策は何ですか?ここ