mirror of
https://github.com/ciur/papermerge.git
synced 2026-04-25 03:55:58 +03:00
[GH-ISSUE #68] Unable to change language on containerized install (Docker) #49
Labels
No labels
2.1
3.0
3.0.1
3.0.2
3.0.3
3.0.3
3.1
3.2
3.2
3.3
3.5
3.x
Fixed. Waiting for feedback.
Fixed. Waiting for feedback.
UX
Version 2.1 - alpha
XSS
announcement
beta
blocker
bug
cannot reproduce
confirmed
confirmed
critical
demo
dependencies
deployment
detchnical debt
discussion
docker
documentation
donations
duplicate
enhancement
feature request
frontend
fundraising
good first issue
good issue
help wanted
high
implemented
important
improvement
incomplete
invalid
investigation
kubernetes
low
low impact
medium
medium
medium impact
migration from 2.0
migration from 2.1
missing-language
missing-ocr-language
no-activity
note
ocr
outofscope
packaging
performance
popular request
pull-request
pypi
question
raspberry pi
roadmap
search
security
setup
status
task
technical debt
updates
user xp
version 1.4.0 - demo
will be implemented
will not be implemented
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/papermerge#49
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @gururise on GitHub (Aug 15, 2020).
Original GitHub issue: https://github.com/ciur/papermerge/issues/68
Used the docker install and after everything was done, only two languages (DEUTSCH and SPANISCH) were available in the web front end for the OCR. I am unable to select ENGLISH as a OCR language. I had to open a bash shell to the papermerge_worker container to get to the settings which I found in /opt/app.
The papermerge.conf.py file defaults to these settings:
I changed them to the following and restarted all the containers:
However, I still only see German and Spanish as language options for the OCR. How can one change the language of the OCR in a docker install?
@ciur commented on GitHub (Aug 15, 2020):
I understand what you mean. There is a confusion - it is because I failed to mention one important aspect in documentation 😁 .
There is worker and main app. And the thing is that some configurations apply only to worker, some only to main app, and some to both!
OCR_LANGUAGES and OCR_DEFAULT_LANGUAGE apply to both - worker and main app.
In your case - you just need change configuration file on both instances - worker and main app.
You did it correctly, but you changed papermerge.con.py only on worker.
I will label this issue as documentation bug.
Thank you for great feedback!
@ciur commented on GitHub (Aug 15, 2020):
I updated documentation.
Have a look at settings and docker setup.
Now each configuration setting has a context:
main apporworkerormain app, worker. Depending on the context that configuration needs to be changed on main app, worker or on both.