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

Translation updates #5

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

taniwallach
Copy link
Member

@taniwallach taniwallach commented Jul 22, 2022

Updates to the translation files. Relevant sincer #2 was merged.
Among the more important changes is the change from "Show correct answers" to "Show Correct Answers".
Branch was rebuilt on top of the current version of develop.

@taniwallach taniwallach changed the base branch from main to develop July 22, 2022 14:36
The main change is the change from "Show correct answers"
to "Show Correct Answers" in RenderApp/Controller/FormatRenderedProblem.pm
@taniwallach taniwallach requested review from dpvc and drgrice1 and removed request for dpvc September 21, 2022 09:54
@taniwallach
Copy link
Member Author

For the record, as explained in https://github.com/openwebwork/renderer/blob/main/docs/make_translation_files.md the pot file can be updated using:

cd lib
xgettext.pl -o WeBWorK/lib/WeBWorK/Localize/standalone.pot -D PG/lib -D PG/macros -D RenderApp -D WeBWorK/lib RenderApp.pm

And then a partial update to the translation files can be done via:

cd WeBWorK/lib/WeBWorK/Localize/
find . -name '*.po' -exec bash -c "echo \"Updating {}\"; msgmerge -qUN {} standalone.pot" \;

and then the translated files need to be reviewed.

@drgrice1
Copy link
Sponsor Member

A script needs to be added that takes care of the po and pot file update.

Also note that with the restructuring in #7 the location of the po/pot files will change (no more lib/WeBWorK/lib/WeBorK!).

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.

2 participants