mirror of
				https://github.com/zadam/trilium.git
				synced 2025-10-31 19:49:01 +01:00 
			
		
		
		
	chore(website): add list of locales
This commit is contained in:
		
							parent
							
								
									14e06c4555
								
							
						
					
					
						commit
						b7b1d17817
					
				| @ -2,6 +2,23 @@ import { default as i18next } from "i18next"; | ||||
| import HttpApi from 'i18next-http-backend'; | ||||
| import { initReactI18next } from "react-i18next"; | ||||
| 
 | ||||
| interface Locale { | ||||
|     id: string; | ||||
|     name: string; | ||||
|     rtl?: boolean; | ||||
| } | ||||
| 
 | ||||
| export const LOCALES: Locale[] = [ | ||||
|     { id: "ro", name: "Română" }, | ||||
|     { id: "zh_TW", name: "繁體中文" }, | ||||
|     { id: "fr", name: "Français" }, | ||||
|     { id: "it", name: "Italiano" }, | ||||
|     { id: "ja", name: "日本語" }, | ||||
|     { id: "pl", name: "Polski" }, | ||||
|     { id: "es", name: "Español" }, | ||||
|     { id: "ar", name: "اَلْعَرَبِيَّةُ", rtl: true }, | ||||
| ]; | ||||
| 
 | ||||
| i18next | ||||
|     .use(HttpApi) | ||||
|     .use(initReactI18next); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Elian Doran
						Elian Doran