Simplify Translation workflow and update translation catalog#306
Merged
nabobalis merged 4 commits intosunpy:mainfrom Jul 31, 2025
Merged
Simplify Translation workflow and update translation catalog#306nabobalis merged 4 commits intosunpy:mainfrom
nabobalis merged 4 commits intosunpy:mainfrom
Conversation
1948cb7 to
17fda9e
Compare
nabobalis
approved these changes
Jul 31, 2025
Member
|
pre-commit.ci autofix |
for more information, see https://pre-commit.ci
Member
|
Thank you again @SilverRainZ, this looks great. |
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.
I tried the command
python setup.py extract_messages -o ablog/locales/sphinx.potgiven bydocs/manual/ablog-i18n.rst, but I got an error because the source dir of ablog has changed. I think we can persist these paths tosetup.cfglike sphinx_rtd_theme does.I also deleted all the
*.mofiles, for they are binaries that should not be tracked by git. If this breaks anything, please let me know.Finally, I run
extract_messageandupdate_catalogfor all languages, and cause come translation mismatch for the original text change their location, I only know English and Chinese so I can fix them, for other language I can make some modifications based on my guesswork, and I don't think it's a big problem. What do you think?