Adding Hebrew language
This commit is contained in:
1 parent
3152ac22f7
commit
7c74440c00
8 files changed
+2977
-6
No files matched your search
@@ -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';
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user