I'm using Angular-material and I18next. Here is my simple example :
<md-select ng-init="val='en'" ng-model="val">
<md-option ng-value="en">{{'en' | i18next}}</md-option>
<md-option ng-value="de">{{'de' | i18next}}</md-option>
</md-select>
The select title is initialized with 'en' and not 'English'. But as soon as I select an other value the correct internationnalized value appears as the new select title.
Any idea how to get the select element displaying the internationnalized value from its initialization ?
Thanks, Max
N.B. if I initializes directly with 'English' or any other value different than the values in the options, the select element does not get initialized at all.
Update: It looks like the md-select element title is initialized before the md-option elements inner values are internationnalized. I have no idea how to solve this.