Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 520 Bytes

File metadata and controls

17 lines (13 loc) · 520 Bytes

How to generate translation files

  • Go to the location under which the renderer was installed.
  • You need to have xgettext.pl installed.
  • This assumes that you are starting in the directory of the renderer clone.
cd lib
xgettext.pl -o WeBWorK/Localize/standalone.pot -D PG/lib -D PG/macros -D Renderer -D WeBWorK Renderer.pm
  • That creates the POT file of all strings found
cd WeBWorK/Localize
find . -name '*.po' -exec bash -c "echo \"Updating {}\"; msgmerge -qUN {} standalone.pot" \;