Adding Hebrew language

This commit is contained in:
softsimon
2021-02-25 17:16:22 +07:00
parent 3152ac22f7
commit 7c74440c00
8 changed files with 2977 additions and 6 deletions

View File

@@ -19,7 +19,7 @@ export class AppComponent implements OnInit {
private location: Location,
@Inject(LOCALE_ID) private locale: string,
) {
if (this.locale.startsWith('ar') || this.locale.startsWith('fa')) {
if (this.locale.startsWith('ar') || this.locale.startsWith('fa') || this.locale.startsWith('he')) {
this.dir = 'rtl';
this.class = 'rtl-layout';
}