Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								78bf11cf65 
								
							 
						 
						
							
							
								
								Locales: Removed a lot of existing locale handling  
							
							 
							
							... 
							
							
							
							There was a lot of locale handling to get correct/expected date
formatting within the app.
Carbon now has built-in locale content rather than us needing to target
specific system locales.
This also removes setting locale via Carbon directly.
Carbon registers its own Laravel service provider which seems to
accurately pull the correct locale from the app.
For #4555  
							
						 
						
							2023-09-17 22:02:12 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								ac9a65945f 
								
							 
						 
						
							
							
								
								Locales: Performed cleanup and alignment of locale handling  
							
							 
							
							... 
							
							
							
							- Reduced app settings down to what's required.
- Used new view-shared $locale object instead of using globals via
  config.
- Aligned language used to default on "locale" instead of mixing
  locale/language.
For #4501  
							
						 
						
							2023-09-17 13:31:38 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								295cd01605 
								
							 
						 
						
							
							
								
								Played around with a new app structure  
							
							 
							
							
							
						 
						
							2023-05-17 17:56:55 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								ee1e936660 
								
							 
						 
						
							
							
								
								Applied styleci changes, updated composer deps  
							
							 
							
							
							
						 
						
							2022-09-05 13:18:37 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								9158a66bff 
								
							 
						 
						
							
							
								
								Updated & improved language locale handling  
							
							 
							
							... 
							
							
							
							Extracted much of the language and locale work to a seperate, focused class.
Updated php set_locale usage to prioritise UTF8 usage.
Added locale options for windows.
Clarified what's a locale and a bookstack language string.
For #3590  and maybe #3650  
							
						 
						
							2022-09-02 19:19:01 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								b4f29a85ab 
								
							 
						 
						
							
							
								
								Added Farsi language available  
							
							 
							
							... 
							
							
							
							Closes  #3426  
							
						 
						
							2022-05-09 14:58:04 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								12f96bb1a4 
								
							 
						 
						
							
							
								
								Updated translation contributors, added Basque to language options  
							
							 
							
							
							
						 
						
							2022-03-30 13:12:17 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								a75cfd1f25 
								
							 
						 
						
							
							
								
								Added estonian to language logic  
							
							 
							
							
							
						 
						
							2021-10-25 14:49:03 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								ce6e25b341 
								
							 
						 
						
							
							
								
								Added lithuanian option to locale system  
							
							 
							
							
							
						 
						
							2021-08-21 20:24:58 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
							
							
								
							
							
								934a833818 
								
							 
						 
						
							
							
								
								Apply fixes from StyleCI  
							
							 
							
							
							
						 
						
							2021-06-26 15:23:15 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								24eef03fb9 
								
							 
						 
						
							
							
								
								Added croatian to required arrays/lists  
							
							 
							
							
							
						 
						
							2021-06-02 21:55:30 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
							
							
								
							
							
								1f2fd58e28 
								
							 
						 
						
							
							
								
								Merge branch 'master' of git://github.com/Ereza/BookStack into Ereza-master  
							
							 
							
							
							
						 
						
							2021-03-07 17:25:07 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
							
							
								
							
							
								d731a4f695 
								
							 
						 
						
							
							
								
								Updated language lists with Bosnian, Indonesian, Latvian & Portuguese  
							
							 
							
							
							
						 
						
							2021-03-07 17:02:28 +00:00  
						
					 
				
					
						
							
							
								 
								Eduard Ereza Martínez
							
						 
						
							 
							
							
							
							
								
							
							
								7893e8229f 
								
							 
						 
						
							
							
								
								Add Catalan translation  
							
							 
							
							
							
						 
						
							2021-02-04 00:55:01 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								7ba6962707 
								
							 
						 
						
							
							
								
								Removed lesser-used middleware and updated localization middleware  
							
							 
							
							... 
							
							
							
							So that DB/User access is not explicitly enforced.
Same for GlobalViewData middleware although that was also just doubling
up on ways to access user/auth info.
Also cleaned up Localization Middleware doc blocks. 
							
						 
						
							2021-01-17 13:41:43 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								e53e4f85c7 
								
							 
						 
						
							
							
								
								Aligned norwegian lang with others and used correct locale  
							
							 
							
							
							
						 
						
							2021-01-02 15:58:23 +00:00  
						
					 
				
					
						
							
							
								 
								Ole Aldric
							
						 
						
							 
							
							
							
							
								
							
							
								36daa09441 
								
							 
						 
						
							
							
								
								Update Localization.php in Middleware with "no" tag for estimate.  
							
							 
							
							
							
						 
						
							2020-10-19 12:43:41 +02:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								1f202f6dbc 
								
							 
						 
						
							
							
								
								Updated locale lists for Bulgarian  
							
							 
							
							
							
						 
						
							2020-09-19 15:36:17 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								64942268b8 
								
							 
						 
						
							
							
								
								Added Slovenian to available language options  
							
							 
							
							... 
							
							
							
							Related to #1946  
							
						 
						
							2020-03-14 22:24:27 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								b94b945fb0 
								
							 
						 
						
							
							
								
								Merge branch 'master' of git://github.com/Binternet/BookStack into Binternet-master  
							
							 
							
							
							
						 
						
							2020-03-04 22:22:08 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								34616ac195 
								
							 
						 
						
							
							
								
								Updated lanauge lists to match latest translations  
							
							 
							
							
							
						 
						
							2020-03-04 22:14:25 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								5ff89a1abb 
								
							 
						 
						
							
							
								
								Added danish to language arrays  
							
							 
							
							
							
						 
						
							2020-01-18 16:10:16 +00:00  
						
					 
				
					
						
							
							
								 
								Lior Broshi
							
						 
						
							 
							
							
							
							
								
							
							
								80a50f1ecb 
								
							 
						 
						
							
							
								
								added rtl support for hebrew + added to localMap  
							
							 
							
							
							
						 
						
							2019-12-29 23:06:54 +02:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								f1d7699df5 
								
							 
						 
						
							
							
								
								Updated Korean to be correct country code  
							
							 
							
							
							
						 
						
							2019-10-18 14:27:41 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								df98deb59d 
								
							 
						 
						
							
							
								
								Added Turkish to locale system  
							
							 
							
							
							
						 
						
							2019-10-17 14:01:19 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								666213a4d4 
								
							 
						 
						
							
							
								
								Removed html dir tag for now, Updated lang format  
							
							 
							
							
							
						 
						
							2019-08-18 18:57:35 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								3acea12f1c 
								
							 
						 
						
							
							
								
								Merge branch 'unicode' of git://github.com/kostasdizas/BookStack into kostasdizas-unicode  
							
							 
							
							
							
						 
						
							2019-08-18 18:51:20 +01:00  
						
					 
				
					
						
							
							
								 
								Kostas Dizas
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								86f56dd22b 
								
							 
						 
						
							
							
								
								Added locale and text direction to html templates  
							
							 
							
							
							
						 
						
							2019-06-11 23:01:08 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								282c45f088 
								
							 
						 
						
							
							
								
								Updated roadmap & dev version, removed dupe locale mappings  
							
							 
							
							
							
						 
						
							2019-06-11 22:45:41 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								98a4359198 
								
							 
						 
						
							
							
								
								Updated user language select to use correct default  
							
							 
							
							... 
							
							
							
							- Updated localisation system to take note of system defaul locale
before replacing the current locale
Fixes  #1316  
							
						 
						
							2019-03-07 21:09:23 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								36424a24b5 
								
							 
						 
						
							
							
								
								Added ability for date format strings to be localized by back-end  
							
							 
							
							... 
							
							
							
							Requires the locale to be installed on the system-side.
Closes  #1214  
							
						 
						
							2019-01-19 12:11:18 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								1cb6ae39c8 
								
							 
						 
						
							
							
								
								Added base RTL support  
							
							 
							
							... 
							
							
							
							For #939 
- Adds way to check if current language is RTL via config system.
- Made TinyMCE default direction be based on current language text
direction.
- Fixed bullet points to be RTL compatible.
- Set page content body to have direction based on content. 
							
						 
						
							2018-09-22 13:18:26 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								fcb93dc7c8 
								
							 
						 
						
							
							
								
								Added option to disable public lang autodetect  
							
							 
							
							... 
							
							
							
							Also cleaned up localization middleware a little.
Closes  #944  
							
						 
						
							2018-08-12 13:10:55 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								62342433f4 
								
							 
						 
						
							
							
								
								Set /app PHP code to PSR-2 standard  
							
							 
							
							... 
							
							
							
							Also adde draw.io to attribution list.
Closes  #649  
							
						 
						
							2018-01-28 16:58:52 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								ad4642c2c4 
								
							 
						 
						
							
							
								
								Enabled translation when not logged in  
							
							 
							
							... 
							
							
							
							Reads from the Accept-Language HTTP header.
Also fixed some encoding for ES translations.
Fixes  #375  
							
						 
						
							2017-04-29 16:47:41 +01:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								26da81a3b0 
								
							 
						 
						
							
							
								
								Added pt_BR to language dropdown and renamed folder  
							
							 
							
							
							
						 
						
							2017-01-18 20:04:29 +00:00  
						
					 
				
					
						
							
							
								 
								Dan Brown
							
						 
						
							 
							
							
								
								
							
							
							
								
							
							
								dabf149411 
								
							 
						 
						
							
							
								
								Added user setting system and added user-lang option  
							
							 
							
							... 
							
							
							
							Supports #115  
							
						 
						
							2017-01-15 16:27:24 +00:00