title: Angular 4 PrimeNG dropdown translate selected option
body: <p>In an Angular 4 application with PrimeNG components using the ngx-translate services, I want to translate also the selectedOption of the dropdown, not only the options of the dropdown.</p>
  
  <p>Into the my Component I have declared the options and the selected option</p>
  
  <pre><code>export class CronPickerComponent  {
     selectedOption: string = 'Jahr';
     options: SelectItem[];
  
     constructor( private translate: TranslateService ) {
         this.options = [];
         this.options.push({ label: 'Jahr', value: 'Jahr' });
         this.options.push({ label: 'Monat', value: 'Monat' });
         this.options.push({ label: 'Woche', value: 'Woche' });
         this.options.push({ label: 'Tag', value: 'Tag' });
         this.options.push({ label: 'Stunde', value: 'Stunde' });
         this.options.push({ label: 'Minute', value: 'Minute' });
      }
  
     computeExpressionFormat() {
             //  ...
       }
  
   }
  </code></pre>
  
  <p>And in the corresponding html I have inserted the corresponded primeNG dropdown</p>
  
  <pre><code>   &lt;p-dropdown id="cronexpressionoptions" [options]="options" 
         [(ngModel)]="selectedOption"  [style]="{'width':'120px'}" 
         (onChange)="computeExpressionFormat()"&gt;
                &lt;template let-option pTemplate="item"&gt;
                      &lt;div  translate&gt;{{option.label}}&lt;/div&gt;
                  &lt;/template&gt;
     &lt;/p-dropdown&gt; 
  </code></pre>
  
  <p>The problem is that the options are displayed translated but the selected value of the dropdown is not translated. As it can been seen in the next image the options are translated into English but the Selected Value remains in Germans (the initial Value).</p>
  
  <p>Is there a way to translate the selected value or to add a template for the selected value. Also on the api of the primeNG <a href="https://www.primefaces.org/primeng/#/dropdown" rel="nofollow noreferrer">dropdown</a> I don't see an option to add a template for the selected value.</p>
  
  <p><a href="https://i.stack.imgur.com/0emiP.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0emiP.jpg" alt="enter image description here"></a></p>