mirror of
				https://github.com/Frooodle/Stirling-PDF.git
				synced 2025-11-01 01:21:18 +01:00 
			
		
		
		
	Document (#803)
* Update HowToAddNewLanguage.md * Update HowToUseOCR.md * Update LocalRunGuide.md * Update README.md * Update LocalRunGuide.md * Update README.md --------- Co-authored-by: Anthony Stirling <77850077+Frooodle@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									6fc9c7be90
								
							
						
					
					
						commit
						010426d488
					
				@ -12,7 +12,7 @@ https://github.com/Stirling-Tools/Stirling-PDF/blob/main/src/main/resources/temp
 | 
				
			|||||||
and add a flag svg file to
 | 
					and add a flag svg file to
 | 
				
			||||||
https://github.com/Stirling-Tools/Stirling-PDF/tree/main/src/main/resources/static/images/flags
 | 
					https://github.com/Stirling-Tools/Stirling-PDF/tree/main/src/main/resources/static/images/flags
 | 
				
			||||||
Any SVG flags are fine, i got most of mine from [here](https://flagicons.lipis.dev/)
 | 
					Any SVG flags are fine, i got most of mine from [here](https://flagicons.lipis.dev/)
 | 
				
			||||||
If your language isnt represented by a flag just find whichever closely matches it, such as for Arabic i chose Saudi Arabia
 | 
					If your language isn't represented by a flag just find whichever closely matches it, such as for Arabic i chose Saudi Arabia
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
For example to add Polish you would add
 | 
					For example to add Polish you would add
 | 
				
			||||||
@ -32,7 +32,7 @@ Copy and rename it to messages_{your data-language-code here}.properties, in the
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Then simply translate all property entries within that file and make a PR into main for others to use!
 | 
					Then simply translate all property entries within that file and make a PR into main for others to use!
 | 
				
			||||||
 | 
					
 | 
				
			||||||
If you do not have a java IDE i am happy to verify the changes worked once you raise PR (but wont be able to verify the translations themselves)
 | 
					If you do not have a java IDE i am happy to verify the changes worked once you raise PR (but won't be able to verify the translations themselves)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -2,7 +2,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
This document provides instructions on how to add additional language packs for the OCR tab in Stirling-PDF, both inside and outside of Docker.
 | 
					This document provides instructions on how to add additional language packs for the OCR tab in Stirling-PDF, both inside and outside of Docker.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## My OCR used to work and now doesnt!
 | 
					## My OCR used to work and now doesn't!
 | 
				
			||||||
Please update your tesseract docker volume path version from 4.00 to 5
 | 
					Please update your tesseract docker volume path version from 4.00 to 5
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## How does the OCR Work
 | 
					## How does the OCR Work
 | 
				
			||||||
 | 
				
			|||||||
@ -65,7 +65,7 @@ sudo make install
 | 
				
			|||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Step 3: Install Additional Software
 | 
					### Step 3: Install Additional Software
 | 
				
			||||||
Next we need to install LibreOffice for conversions, ocrmypdf for OCR, and opencv for patern recognition functionality.
 | 
					Next we need to install LibreOffice for conversions, ocrmypdf for OCR, and opencv for pattern recognition functionality.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Install the following software:
 | 
					Install the following software:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -264,7 +264,7 @@ sudo systemctl restart stirlingpdf.service
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Remember to set the necessary environment variables before running the project if you want to customize the application the list can be seen in the main readme.
 | 
					Remember to set the necessary environment variables before running the project if you want to customize the application the list can be seen in the main readme.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
You can do this in the terminal by using the `export` command or -D arguements to java -jar command:
 | 
					You can do this in the terminal by using the `export` command or -D argument to java -jar command:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
```bash
 | 
					```bash
 | 
				
			||||||
export APP_HOME_NAME="Stirling PDF"
 | 
					export APP_HOME_NAME="Stirling PDF"
 | 
				
			||||||
 | 
				
			|||||||
@ -6,7 +6,7 @@
 | 
				
			|||||||
[](https://github.com/Stirling-Tools/Stirling-PDF/)
 | 
					[](https://github.com/Stirling-Tools/Stirling-PDF/)
 | 
				
			||||||
[](https://github.com/Stirling-Tools/stirling-pdf)
 | 
					[](https://github.com/Stirling-Tools/stirling-pdf)
 | 
				
			||||||
[](https://www.paypal.com/paypalme/froodleplex)
 | 
					[](https://www.paypal.com/paypalme/froodleplex)
 | 
				
			||||||
[](https://github.com/sponsors/Frooodle)
 | 
					[](https://github.com/sponsors/Frooodle)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[](https://cloud.digitalocean.com/apps/new?repo=https://github.com/Stirling-Tools/Stirling-PDF/tree/digitalOcean&refcode=c3210994b1af)
 | 
					[](https://cloud.digitalocean.com/apps/new?repo=https://github.com/Stirling-Tools/Stirling-PDF/tree/digitalOcean&refcode=c3210994b1af)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -262,7 +262,7 @@ For API usage you must provide a header with 'X-API-Key' and the associated API
 | 
				
			|||||||
- Redact text (Via UI not just automated way)
 | 
					- Redact text (Via UI not just automated way)
 | 
				
			||||||
- Add Forms
 | 
					- Add Forms
 | 
				
			||||||
- Multi page layout (Stich PDF pages together) support x rows y columns and custom page sizing
 | 
					- Multi page layout (Stich PDF pages together) support x rows y columns and custom page sizing
 | 
				
			||||||
- Fill forms mannual and automatic
 | 
					- Fill forms manually or automatically
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Q2: Why is my application downloading .htm files?
 | 
					### Q2: Why is my application downloading .htm files?
 | 
				
			||||||
This is an issue caused commonly by your NGINX configuration. The default file upload size for NGINX is 1MB, you need to add the following in your Nginx sites-available file. ``client_max_body_size SIZE;`` Where "SIZE" is 50M for example for 50MB files.
 | 
					This is an issue caused commonly by your NGINX configuration. The default file upload size for NGINX is 1MB, you need to add the following in your Nginx sites-available file. ``client_max_body_size SIZE;`` Where "SIZE" is 50M for example for 50MB files.
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user