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

pdf2zh 2.0: Rewrite all parts of PDF2ZH except the translator to improve user experience and developer experience. #586

Open
awwaawwa opened this issue Feb 9, 2025 · 4 comments
Labels
enhancement New feature or request Normal priority
Milestone

Comments

@awwaawwa
Copy link
Collaborator

awwaawwa commented Feb 9, 2025

Background

PDF2ZH consists of the following parts:

  1. Core: I am completely rewriting it, related code is at https://github.com/funstory-ai/BabelDOC
  2. Configuration System
  3. GUI
  4. Translator Support

The current PDF2ZH code is difficult to maintain. I hope to completely rewrite all parts of PDF2ZH except for the translator to improve both user and developer experience.

Note

Everyone is welcome to discuss in this issue.

BabelDOC Preview

Image

Project Positioning

BabelDOC serves as a PDF translation library providing core translation functionality.

PDF2ZH handles self-deployment related tasks, such as GUI, better configuration system, better initial guidance, multi-language localization, etc.

Expected Approach

Stop adding features to existing pdf2zh code, shift development focus to pdf2zh 2.0.

pdf2zh 2.0 will use YADT as its core, focusing on self-deployment related matters.

Specific Details

Requires further research & discussion.

@awwaawwa
Copy link
Collaborator Author

awwaawwa commented Feb 9, 2025

For the configuration system, I want:

  1. Support CLI parameters
  2. Support environment variables
  3. Support configuration files
  4. Support modifying all configurations in GUI

For the GUI, I hope to have a comprehensive beginner's guide. And it would be best to have a complete packaging solution, aiming to achieve one-click startup with a double-click .exe file, and then complete all operations within the GUI.

@awwaawwa
Copy link
Collaborator Author

Future related development will be carried out in the next branch.

@awwaawwa awwaawwa removed the help wanted Extra attention is needed label Feb 21, 2025
@awwaawwa
Copy link
Collaborator Author

GUI needs good localization support. Export all UI strings.

@awwaawwa awwaawwa pinned this issue Feb 22, 2025
@awwaawwa awwaawwa changed the title Refactoring: Rewrite all parts of PDF2ZH except the translator to improve user experience and developer experience. pdf2zh 2.0: Rewrite all parts of PDF2ZH except the translator to improve user experience and developer experience. Feb 22, 2025
@hellofinch
Copy link
Contributor

weblate is all you need.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Normal priority
Projects
None yet
Development

No branches or pull requests

2 participants