Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add French translation #39

Closed
wants to merge 1 commit into from
Closed

Add French translation #39

wants to merge 1 commit into from

Conversation

AAClause
Copy link

@AAClause AAClause commented Apr 19, 2020

Link to issue number:

None

Summary of the issue:

Bookworm is not available in French.

Description of how this pull request fixes the issue:

  • Interface translation
  • Documentation translation
  • Reread the whole

Testing performed:

Executed invoke compile-msgs && invoke run. The interface appears in French.

Known issues with pull request:

Build system fails.

@AAClause
Copy link
Author

@mush42 Do you have any idea why AppVeyor fails? Thanks.

@mush42
Copy link
Collaborator

mush42 commented May 9, 2020

@mush42 Do you have any idea why AppVeyor fails? Thanks.

Due to some issues with git submodules, now fixed in the 'ocrsupport' branch.

@AAClause AAClause changed the base branch from master to develop August 24, 2020 12:39
@sofquipeut
Copy link

Hi,

Any ideas regarding the release of the French translation? May I help?

Thanks,

@AAClause
Copy link
Author

@sofquipeut Thank you for reminding me this pull request! :) Unfortunately, this PR is completely outdated now. From July I'll be in vacation, I'll have a lot of free time, and I could update that.

May I help?

Oh yes, your help is welcome :). We can continue in private but here is already the diff about the documentation.

bookworm_userguide_diff.txt

@AAClause
Copy link
Author

@mush42 Should I rebase onto your development branch? I'd like to make AppVeyor happy. Currently based onto the main branch.

@mush42
Copy link
Collaborator

mush42 commented Jul 24, 2021

Go ahead

@AAClause
Copy link
Author

OK, thanks. Also I noticed that the following URL is invalid (from the documentation): https://mush42.github.io/bookworm/

@AAClause
Copy link
Author

AAClause commented Jul 24, 2021

OK, AppVeyor fails for the same reason as on my machine. The invoke dev command fails. it worked several months ago but not anymore :(

ERROR: Could not install packages due to an OSError: [WinError 5] Access is denied: 'C:\\Users\\appveyor\\AppData\\Local\\Temp\\1\\pip-uninstall-mamo7x5f\\invoke.exe'
Check the permissions.
Command exited with code 1

@mush42
Copy link
Collaborator

mush42 commented Jul 25, 2021

hmm! Interesting.
Let me check. Probably a recent update to appveyor's build servers.

@AAClause
Copy link
Author

AAClause commented Jul 25, 2021

It's the same on my machine, here's the output for reference:

Output
D:\src\aaclause\bookworm>rm -rf .env

D:\src\aaclause\bookworm>python -m venv .env

D:\src\aaclause\bookworm>.env\\scripts\\activate

(.env) D:\src\aaclause\bookworm>pip install invoke
Collecting invoke
  Using cached invoke-1.6.0-py3-none-any.whl (212 kB)
Installing collected packages: invoke
Successfully installed invoke-1.6.0
WARNING: You are using pip version 21.1.1; however, version 21.1.3 is available.
You should consider upgrading via the 'd:\src\aaclause\bookworm\.env\scripts\python.exe -m pip install --upgrade pip' command.

(.env) D:\src\aaclause\bookworm>invoke dev
Adding environment variables...
Upgrading pip...
Requirement already satisfied: pip in d:\src\aaclause\bookworm\.env\lib\site-packages (21.1.1)
Collecting pip
  Using cached pip-21.2.1-py3-none-any.whl (1.6 MB)
Installing collected packages: pip
  Attempting uninstall: pip
    Found existing installation: pip 21.1.1
    Uninstalling pip-21.1.1:
      Successfully uninstalled pip-21.1.1
Successfully installed pip-21.2.1
Installing local packages
Installing package pyxpdf_data-1.1.0-py3-none-any.whl
Processing d:\src\aaclause\bookworm\packages\pyxpdf_data-1.1.0-py3-none-any.whl
Collecting appdirs
  Using cached appdirs-1.4.4-py2.py3-none-any.whl (9.6 kB)
Installing collected packages: appdirs, pyxpdf-data
Successfully installed appdirs-1.4.4 pyxpdf-data-1.1.0
Installing package win32\x64\pycld2-0.41-cp39-cp39-win_amd64.whl
Processing d:\src\aaclause\bookworm\packages\win32\x64\pycld2-0.41-cp39-cp39-win_amd64.whl
Installing collected packages: pycld2
Successfully installed pycld2-0.41
Installing package win32\x64\pyxpdf-0.2.3-cp39-cp39-win_amd64.whl
Processing d:\src\aaclause\bookworm\packages\win32\x64\pyxpdf-0.2.3-cp39-cp39-win_amd64.whl
Installing collected packages: pyxpdf
Successfully installed pyxpdf-0.2.3
Installing package win32\x64\pythonnet-2.5.2-cp39-cp39-win_amd64.whl
Processing d:\src\aaclause\bookworm\packages\win32\x64\pythonnet-2.5.2-cp39-cp39-win_amd64.whl
Collecting pycparser
  Using cached pycparser-2.20-py2.py3-none-any.whl (112 kB)
Installing collected packages: pycparser, pythonnet
Successfully installed pycparser-2.20 pythonnet-2.5.2
Installing application dependencies using pip...
Collecting https://github.com/blindpandas/configobj/tarball/v5.1.0.dev0 (from -r requirements.txt (line 8))
  Using cached https://github.com/blindpandas/configobj/tarball/v5.1.0.dev0
Ignoring distro: markers 'sys_platform == "linux"' don't match your environment
Collecting bp-accessible-output2==0.5
  Using cached bp_accessible_output2-0.5-py2.py3-none-any.whl (345 kB)
Collecting bp-db-magic==0.2
  Using cached bp_db_magic-0.2-py2.py3-none-any.whl (4.3 kB)
Collecting bp-lib-loader==0.21
  Using cached bp_lib_loader-0.21-py2.py3-none-any.whl (3.6 kB)
Collecting bp-platform-utils==0.40
  Using cached bp_platform_utils-0.40-py2.py3-none-any.whl (7.9 kB)
Collecting bp-winpaths==0.2
  Using cached bp_winpaths-0.2-py2.py3-none-any.whl (2.9 kB)
Collecting babel==2.9.1
  Using cached Babel-2.9.1-py2.py3-none-any.whl (8.8 MB)
Collecting banal==1.0.4
  Using cached banal-1.0.4-py2.py3-none-any.whl (6.0 kB)
Collecting beautifulsoup4==4.9.3
  Using cached beautifulsoup4-4.9.3-py3-none-any.whl (115 kB)
Collecting blinker==1.4
  Using cached blinker-1.4-py3-none-any.whl
Collecting chemical==1.0.1
  Using cached chemical-1.0.1-py3-none-any.whl
Collecting demandimport==0.3.4
  Using cached demandimport-0.3.4-py3-none-any.whl
Collecting diskcache==5.2.1
  Using cached diskcache-5.2.1-py3-none-any.whl (44 kB)
Collecting docrpy==0.1.1
  Using cached docrpy-0.1.1-cp39-none-win_amd64.whl (508 kB)
Collecting ebooklib==0.17.1
  Using cached EbookLib-0.17.1-py3-none-any.whl
Collecting ftfy==5.9
  Using cached ftfy-5.9-py3-none-any.whl
Collecting inscriptis==1.1.2
  Using cached inscriptis-1.1.2-py3-none-any.whl (21 kB)
Collecting languagecodes==1.0.7
  Using cached languagecodes-1.0.7-py3-none-any.whl (88 kB)
Collecting lazy_import==0.2.2
  Using cached lazy_import-0.2.2-py2.py3-none-any.whl
Collecting lru-dict==1.1.6
  Using cached lru_dict-1.1.6-cp39-cp39-win_amd64.whl
Collecting lxml==4.6.3
  Using cached lxml-4.6.3-cp39-cp39-win_amd64.whl (3.5 MB)
Collecting mammoth==1.4.15
  Using cached mammoth-1.4.15-py2.py3-none-any.whl (51 kB)
Collecting mistune==0.8.4
  Using cached mistune-0.8.4-py2.py3-none-any.whl (16 kB)
Collecting mobi==0.3.1
  Using cached mobi-0.3.1-py3-none-any.whl (102 kB)
Collecting more-itertools==8.7.0
  Using cached more_itertools-8.7.0-py3-none-any.whl (48 kB)
Collecting msgpack==1.0.2
  Using cached msgpack-1.0.2-cp39-cp39-win_amd64.whl (68 kB)
Collecting numpy==1.20.0
  Using cached numpy-1.20.0-cp39-cp39-win_amd64.whl (13.7 MB)
Collecting odfpy==1.4.1
  Using cached odfpy-1.4.1-py2.py3-none-any.whl
Collecting opencv-python-headless==4.5.1.48
  Using cached opencv_python_headless-4.5.1.48-cp39-cp39-win_amd64.whl (34.8 MB)
Collecting Pillow==8.1.0
  Using cached Pillow-8.1.0-cp39-cp39-win_amd64.whl (2.2 MB)
Requirement already satisfied: pycld2==0.41 in d:\src\aaclause\bookworm\.env\lib\site-packages (from -r requirements.txt (line 34)) (0.41)
Collecting pydantic==1.8.1
  Using cached pydantic-1.8.1-cp39-cp39-win_amd64.whl (1.9 MB)
Collecting PyMuPDF==1.18.12
  Using cached PyMuPDF-1.18.12-cp39-cp39-win_amd64.whl (5.4 MB)
Collecting pytesseract==0.3.7
  Using cached pytesseract-0.3.7-py2.py3-none-any.whl
Collecting python-docx==0.8.10
  Using cached python_docx-0.8.10-py3-none-any.whl
Requirement already satisfied: pythonnet==2.5.2 in d:\src\aaclause\bookworm\.env\lib\site-packages (from -r requirements.txt (line 39)) (2.5.2)
Collecting python-pptx==0.6.18
  Using cached python_pptx-0.6.18-py3-none-any.whl
Collecting pywin32==228
  Using cached pywin32-228-cp39-cp39-win_amd64.whl (9.1 MB)
Requirement already satisfied: pyxpdf==0.2.3 in d:\src\aaclause\bookworm\.env\lib\site-packages (from -r requirements.txt (line 42)) (0.2.3)
Requirement already satisfied: pyxpdf-data==1.1.0 in d:\src\aaclause\bookworm\.env\lib\site-packages (from -r requirements.txt (line 43)) (1.1.0)
Collecting trafilatura==0.8.2
  Using cached trafilatura-0.8.2-py3-none-any.whl (165 kB)
Collecting regex==2020.11.13
  Using cached regex-2020.11.13-cp39-cp39-win_amd64.whl (270 kB)
Collecting requests==2.25.1
  Using cached requests-2.25.1-py2.py3-none-any.whl (61 kB)
Collecting selectolax==0.2.11
  Using cached selectolax-0.2.11-cp39-cp39-win_amd64.whl (599 kB)
Collecting SQLAlchemy==1.3.22
  Using cached SQLAlchemy-1.3.22-cp39-cp39-win_amd64.whl (1.2 MB)
Collecting ujson==4.0.2
  Using cached ujson-4.0.2-cp39-cp39-win_amd64.whl (44 kB)
Collecting unicode-slugify==0.1.3
  Using cached unicode_slugify-0.1.3-py3-none-any.whl
Collecting uritools==3.0.1
  Using cached uritools-3.0.1-py3-none-any.whl (15 kB)
Collecting url-normalize==1.4.3
  Using cached url_normalize-1.4.3-py2.py3-none-any.whl (6.8 kB)
Collecting wikipedia==1.4.0
  Using cached wikipedia-1.4.0-py3-none-any.whl
Collecting wxPython==4.1.1
  Using cached wxPython-4.1.1-cp39-cp39-win_amd64.whl (18.1 MB)
Collecting black==20.8b1
  Using cached black-20.8b1-py3-none-any.whl
Collecting invoke==1.5.0
  Using cached invoke-1.5.0-py3-none-any.whl (211 kB)
Collecting jinja2==2.11.3
  Using cached Jinja2-2.11.3-py2.py3-none-any.whl (125 kB)
Collecting packaging==20.9
  Using cached packaging-20.9-py2.py3-none-any.whl (40 kB)
Collecting PyInstaller==4.2
  Using cached pyinstaller-4.2-py3-none-any.whl
Collecting pytest==6.1.0
  Using cached pytest-6.1.0-py3-none-any.whl (272 kB)
Collecting wheel==0.35.1
  Using cached wheel-0.35.1-py2.py3-none-any.whl (33 kB)
Collecting pytz>=2015.7
  Using cached pytz-2021.1-py2.py3-none-any.whl (510 kB)
Collecting soupsieve>1.2
  Using cached soupsieve-2.2.1-py3-none-any.whl (33 kB)
Collecting six
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting wcwidth
  Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting cobble<0.2,>=0.1.3
  Using cached cobble-0.1.3-py3-none-any.whl
Collecting loguru<0.5,>=0.4
  Using cached loguru-0.4.1-py3-none-any.whl (54 kB)
Collecting defusedxml
  Using cached defusedxml-0.7.1-py2.py3-none-any.whl (25 kB)
Collecting typing-extensions>=3.7.4.3
  Using cached typing_extensions-3.10.0.0-py3-none-any.whl (26 kB)
Requirement already satisfied: pycparser in d:\src\aaclause\bookworm\.env\lib\site-packages (from pythonnet==2.5.2->-r requirements.txt (line 39)) (2.20)
Collecting XlsxWriter>=0.5.7
  Using cached XlsxWriter-1.4.4-py2.py3-none-any.whl (149 kB)
Requirement already satisfied: appdirs in d:\src\aaclause\bookworm\.env\lib\site-packages (from pyxpdf-data==1.1.0->-r requirements.txt (line 43)) (1.4.4)
Collecting urllib3<2,>=1.25
  Using cached urllib3-1.26.6-py2.py3-none-any.whl (138 kB)
Collecting justext>=2.2.0
  Using cached jusText-2.2.0-py2.py3-none-any.whl (860 kB)
Collecting readability-lxml>=0.8.1
  Using cached readability_lxml-0.8.1-py3-none-any.whl (20 kB)
Collecting courlan>=0.3.1
  Using cached courlan-0.4.1-py3-none-any.whl (21 kB)
Collecting chardet>=3.0.4
  Using cached chardet-4.0.0-py2.py3-none-any.whl (178 kB)
Collecting htmldate>=0.8.1
  Using cached htmldate-0.9.0-py3-none-any.whl (32 kB)
Collecting certifi
  Using cached certifi-2021.5.30-py2.py3-none-any.whl (145 kB)
Collecting idna<3,>=2.5
  Using cached idna-2.10-py2.py3-none-any.whl (58 kB)
Collecting unidecode
  Using cached Unidecode-1.2.0-py2.py3-none-any.whl (241 kB)
Collecting click>=7.1.2
  Using cached click-8.0.1-py3-none-any.whl (97 kB)
Collecting mypy-extensions>=0.4.3
  Using cached mypy_extensions-0.4.3-py2.py3-none-any.whl (4.5 kB)
Collecting toml>=0.10.1
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting typed-ast>=1.4.0
  Using cached typed_ast-1.4.3-cp39-cp39-win_amd64.whl (158 kB)
Collecting pathspec<1,>=0.6
  Using cached pathspec-0.9.0-py2.py3-none-any.whl (31 kB)
Collecting MarkupSafe>=0.23
  Using cached MarkupSafe-2.0.1-cp39-cp39-win_amd64.whl (14 kB)
Collecting pyparsing>=2.0.2
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting pefile>=2017.8.1
  Using cached pefile-2021.5.24-py3-none-any.whl
Collecting altgraph
  Using cached altgraph-0.17-py2.py3-none-any.whl (21 kB)
Collecting pyinstaller-hooks-contrib>=2020.6
  Using cached pyinstaller_hooks_contrib-2021.2-py2.py3-none-any.whl (190 kB)
Requirement already satisfied: setuptools in d:\src\aaclause\bookworm\.env\lib\site-packages (from PyInstaller==4.2->-r requirements-dev.txt (line 8)) (56.0.0)
Collecting pywin32-ctypes>=0.2.0
  Using cached pywin32_ctypes-0.2.0-py2.py3-none-any.whl (28 kB)
Collecting atomicwrites>=1.0
  Using cached atomicwrites-1.4.0-py2.py3-none-any.whl (6.8 kB)
Collecting py>=1.8.2
  Using cached py-1.10.0-py2.py3-none-any.whl (97 kB)
Collecting iniconfig
  Using cached iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB)
Collecting colorama
  Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting pluggy<1.0,>=0.12
  Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
Collecting attrs>=17.4.0
  Using cached attrs-21.2.0-py2.py3-none-any.whl (53 kB)
Collecting tld
  Using cached tld-0.12.6-py39-none-any.whl (412 kB)
Collecting htmldate>=0.8.1
  Using cached htmldate-0.8.1-py3-none-any.whl (31 kB)
Collecting dateparser>=1.0.0
  Using cached dateparser-1.0.0-py2.py3-none-any.whl (279 kB)
Collecting python-dateutil>=2.8.1
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting tzlocal
  Using cached tzlocal-2.1-py2.py3-none-any.whl (16 kB)
Collecting win32-setctime>=1.0.0
  Using cached win32_setctime-1.0.3-py3-none-any.whl (3.5 kB)
Collecting future
  Using cached future-0.18.2-py3-none-any.whl
Collecting cssselect
  Using cached cssselect-1.1.0-py2.py3-none-any.whl (16 kB)
Using legacy 'setup.py install' for configobj, since package 'wheel' is not installed.
Installing collected packages: six, pytz, tzlocal, regex, python-dateutil, win32-setctime, urllib3, tld, soupsieve, pywin32, pyparsing, lxml, idna, future, dateparser, cssselect, colorama, chardet, certifi, bp-winpaths, XlsxWriter, wcwidth, unidecode, typing-extensions, typed-ast, toml, SQLAlchemy, requests, readability-lxml, pywin32-ctypes, pyinstaller-hooks-contrib, py, pluggy, Pillow, pefile, pathspec, packaging, numpy, mypy-extensions, MarkupSafe, loguru, justext, iniconfig, htmldate, defusedxml, courlan, cobble, click, bp-platform-utils, beautifulsoup4, attrs, atomicwrites, altgraph, wxPython, wikipedia, wheel, url-normalize, uritools, unicode-slugify, ujson, trafilatura, selectolax, python-pptx, python-docx, pytest, pytesseract, PyMuPDF, PyInstaller, pydantic, opencv-python-headless, odfpy, msgpack, more-itertools, mobi, mistune, mammoth, lru-dict, lazy-import, languagecodes, jinja2, invoke, inscriptis, ftfy, ebooklib, docrpy, diskcache, demandimport, configobj, chemical, bp-lib-loader, bp-db-magic, bp-accessible-output2, blinker, black, banal, babel
  Attempting uninstall: invoke
    Found existing installation: invoke 1.6.0
    Uninstalling invoke-1.6.0:
ERROR: Could not install packages due to an OSError: [WinError 5] Accès refusé: 'd:\\src\\aaclause\\bookworm\\.env\\scripts\\invoke.exe'
Check the permissions.


(.env) D:\src\aaclause\bookworm>

(Python 3.9.5 x64)

@AAClause
Copy link
Author

@mush42 Any news on the build system?
I just tried again and it still does not work with the latest commit from the develop branch :(

@AAClause
Copy link
Author

Closing in favor of #76.

@AAClause AAClause closed this Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants