ciyidogan commited on
Commit
2d0ad51
·
verified ·
1 Parent(s): 1c43f71

Update flare-ui/src/app/components/chat/chat.component.html

Browse files
flare-ui/src/app/components/chat/chat.component.html CHANGED
@@ -9,6 +9,7 @@
9
  </mat-card-header>
10
 
11
  <mat-card-content>
 
12
  <mat-form-field appearance="outline" class="project-select">
13
  <mat-label>Select Project</mat-label>
14
  <mat-select [(ngModel)]="selectedProject" required>
@@ -16,6 +17,16 @@
16
  </mat-select>
17
  <mat-hint>Choose an enabled project with published version</mat-hint>
18
  </mat-form-field>
 
 
 
 
 
 
 
 
 
 
19
 
20
  <mat-checkbox
21
  [(ngModel)]="useTTS"
 
9
  </mat-card-header>
10
 
11
  <mat-card-content>
12
+
13
  <mat-form-field appearance="outline" class="project-select">
14
  <mat-label>Select Project</mat-label>
15
  <mat-select [(ngModel)]="selectedProject" required>
 
17
  </mat-select>
18
  <mat-hint>Choose an enabled project with published version</mat-hint>
19
  </mat-form-field>
20
+
21
+ <mat-form-field appearance="outline" class="locale-select">
22
+ <mat-label>Language</mat-label>
23
+ <mat-select [(ngModel)]="selectedLocale" required>
24
+ <mat-option *ngFor="let locale of availableLocales" [value]="locale.code">
25
+ {{ locale.name }} ({{ locale.english_name }})
26
+ </mat-option>
27
+ </mat-select>
28
+ <mat-hint>Select conversation language</mat-hint>
29
+ </mat-form-field>
30
 
31
  <mat-checkbox
32
  [(ngModel)]="useTTS"