WeBWorK Main Forum

Course specific localizations

Course specific localizations

by Björn Bergstrand -
Number of replies: 1
Is there any way to change the strings listed in  ib/WeBWorK/Localize/webwork2.pot in a way specific to a course?

Ideally i'd like to be able to change the string somewhere inside the course.conf file, but is anything like this possible?
In reply to Björn Bergstrand

Re: Course specific localizations

by Danny Glin -
I haven't looked into this closely, but the following should be possible:

Create a copy of webwork2.pot for the course in question.  Call it something like webwork2-mycourse.pot.  Modify the strings in that file.

In course.conf, set the localization to refer to that new file.

I haven't had a chance to look up the specific values for this, but that should be the idea.  Of course this means that you can't modify the strings from within the course (you would need shell access), but it should allow you to create a custom localization for one course.

Danny