2017-04-05 45 views
0

我正在將我的應用程序從ng2-translate移動到本地i18n支持。面對一個問題,當談到與幾個選項翻譯了:Angular 2 i18n:翻譯<option>值

<md-select placeholder="Salutation" i18n-placeholder> 
     <md-option *ngFor="let s of salutations" [value]="s.value">{{s.name}}</md-option> 
</md-select> 

documentation沒有規定如何獲取選項值進入我的XLF文件時,它們通過TS服務。任何幫助非常感謝

回答

0

答案我猜是在配置錯誤。現在所有作品 <target>{testRandom, plural, =0 {none} =1 {single} other {several}}</target>