Support for translating .ipynb
(Jupyter Notebook) files
#51
Labels
enhancement
New feature or request
.ipynb
(Jupyter Notebook) files
#51
Describe the feature you'd like
Currently, Co-op Translator supports translation of Markdown files and text within images. We propose adding support for translating Jupyter Notebook (
.ipynb
) files, specifically targeting Markdown and text content within the notebook while preserving code blocks.Problem this feature solves
Many educational and research projects rely heavily on Jupyter Notebooks for documentation and tutorials. Translating these files will allow projects to reach a broader audience, especially in academic and open-source communities.
Alternatives considered
No response
Additional context
Proposed Implementation
Parsing
.ipynb
Files:markdown
cells while ignoringcode
cells.Translating Markdown Cells:
markdown
cells, the translation can proceed similarly to how Co-op Translator handles.md
files.Handling Embedded Images:
Rebuilding the Notebook:
Example Workflow
.ipynb
file and extract text frommarkdown
cells.Please feel free to provide feedback or suggest additional features related to this request!
Are you willing to submit a pull request to implement this feature?
Code of Conduct
The text was updated successfully, but these errors were encountered: