mirror of
				https://github.com/paperless-ngx/paperless-ngx.git
				synced 2025-10-30 03:56:23 -05:00 
			
		
		
		
	Adding arabic language
This commit is contained in:
		 Khaled Emad
					Khaled Emad
				
			
				
					committed by
					
						 Michael Shamoon
						Michael Shamoon
					
				
			
			
				
	
			
			
			 Michael Shamoon
						Michael Shamoon
					
				
			
						parent
						
							06c62abfbd
						
					
				
				
					commit
					906d5d0bab
				
			| @@ -16,6 +16,7 @@ | ||||
|       "i18n": { | ||||
|         "sourceLocale": "en-US", | ||||
|         "locales": { | ||||
|           "ar-AR": "src/locale/messages.ar_AR.xlf", | ||||
|           "be-BY": "src/locale/messages.be_BY.xlf", | ||||
|           "cs-CZ": "src/locale/messages.cs_CZ.xlf", | ||||
|           "da-DK": "src/locale/messages.da_DK.xlf", | ||||
|   | ||||
| @@ -80,6 +80,7 @@ import { TourNgBootstrapModule } from 'ngx-ui-tour-ng-bootstrap' | ||||
| import { MailAccountEditDialogComponent } from './components/common/edit-dialog/mail-account-edit-dialog/mail-account-edit-dialog.component' | ||||
| import { MailRuleEditDialogComponent } from './components/common/edit-dialog/mail-rule-edit-dialog/mail-rule-edit-dialog.component' | ||||
|  | ||||
| import localeAr from '@angular/common/locales/ar' | ||||
| import localeBe from '@angular/common/locales/be' | ||||
| import localeCs from '@angular/common/locales/cs' | ||||
| import localeDa from '@angular/common/locales/da' | ||||
| @@ -100,6 +101,7 @@ import localeSv from '@angular/common/locales/sv' | ||||
| import localeTr from '@angular/common/locales/tr' | ||||
| import localeZh from '@angular/common/locales/zh' | ||||
|  | ||||
| registerLocaleData(localeAr) | ||||
| registerLocaleData(localeBe) | ||||
| registerLocaleData(localeCs) | ||||
| registerLocaleData(localeDa) | ||||
|   | ||||
| @@ -146,6 +146,12 @@ export class SettingsService { | ||||
|         englishName: 'English (US)', | ||||
|         dateInputFormat: 'mm/dd/yyyy', | ||||
|       }, | ||||
|       { | ||||
|         code: 'ar-ar', | ||||
|         name: $localize`Arabic`, | ||||
|         englishName: 'Arabic', | ||||
|         dateInputFormat: 'yyyy-mm-dd', | ||||
|       }, | ||||
|       { | ||||
|         code: 'be-by', | ||||
|         name: $localize`Belarusian`, | ||||
|   | ||||
| @@ -420,6 +420,7 @@ LANGUAGE_CODE = "en-us" | ||||
|  | ||||
| LANGUAGES = [ | ||||
|     ("en-us", _("English (US)")),  # needs to be first to act as fallback language | ||||
|     ("ar-ar", _("Arabic")), | ||||
|     ("be-by", _("Belarusian")), | ||||
|     ("cs-cz", _("Czech")), | ||||
|     ("da-dk", _("Danish")), | ||||
|   | ||||
		Reference in New Issue
	
	Block a user