Repository navigation
feat: add scripts that helps inserting Google-translated content into .po file - #378
Merged
Merged
Conversation
mattwang44
force-pushed
the
googletrans-utils
branch
from
January 14, 2023 15:36
3940ad9 to
ee50c42
Compare
ezio-melotti
left a comment
Member
There was a problem hiding this comment.
Probably out of the scope of this PR, but eventually I think it might be useful to have a separate translation-tools repo where to put tools that can be shared by different translation projects.
If the tools are in a separate repo, it is also not necessary to create a hidden dir that is not easily discoverable (using _scripts might be a better option, unless it interferes with something).
josix
approved these changes
Feb 27, 2023
josix
left a comment
Collaborator
There was a problem hiding this comment.
I think we could merge it first, and create another PR for making batch procedure.
beccalzh
pushed a commit
to beccalzh/python-docs-zh-tw
that referenced
this pull request
Sep 4, 2024
feat: add scripts that helps inserting Google-translated content into .po file
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
[WHY]
As a translator, I'd like to have machine-translated content as the base that I can revise, which significantly reduces the translation effort.
[HOW]
Major
.scriptsdirectory, which is expected to be where all translation toolkits lie in. Poetry is set up here.One can run the script with:
Minor
from_cn.shscript and move it into.scripts.One can run the script with: