Log of /branches/bw
Directory Listing
Revision
6950 -
Directory Listing
Modified
Tue Jul 19 15:59:22 2011 UTC (23 months ago) by
gage
minor changes
Revision
6934 -
Directory Listing
Modified
Fri Jul 15 15:04:42 2011 UTC (23 months ago) by
benjamin
Removed header info left over from previous localization organization.
Revision
6926 -
Directory Listing
Modified
Mon Jul 11 17:08:19 2011 UTC (23 months, 1 week ago) by
benjamin
Removed hard-coded Turkish translation from Login.pm (oops)
Removed legacy Localization code from ProblemSets.pm (need to do this to other files, too)
Added Login.pm translation to Localize.pm and tr.pm (new _LOGIN_MESSAGE variable)
Revision
6923 -
Directory Listing
Modified
Wed Jul 6 23:35:51 2011 UTC (23 months, 2 weeks ago) by
gage
Made changes that locate the Localize handler in $r
the WeBWorK::Request object which is unloaded in nearly every subroutine.
At the moment this seems more appropriate than trying to create a WeBWorK object.
WeBWorK.pm is basically a dispatch routine, which creates a request object and then
initializes it.
The biggest obstacle is handling URLPath. In each case the name of a segment needs a
translation for display purposes. This can't be done statically because, while the paths
are static, the language is not determined until the request comes and might be different
for each course. To handle this we have added an extra parameter (the second one) whenever
a URLPath is created which must be a WeBWorK::Request object. Now the URLPath object knows
the "parent" request that it belongs to and from that can determine language to use for
translation. This involved a lot of routine changes which were done with massive search and
individual replace. There are also checks in the creation routines for URLPath which
insure that the second argument is a WeBWorK::Request object. This reduced errors during the change over.
Going forward the differences are only that one uses $r->maketext() instead of $LH->maketext()
and in the global.conf (overridden by the courses.conf file) there is a new item:
$language = "tr" (or "en" or "fr" );
We need more Translation files in Localize, We need error messages for non-existentant languages.
and eventually we will want easier customization (via Course Configuration or perhaps even individual
preferences)
Revision
6757 -
Directory Listing
Modified
Mon Mar 28 08:50:03 2011 UTC (2 years, 2 months ago) by
ozcankasal
tr.pm updated
Revision
6754 -
Directory Listing
Modified
Tue Mar 22 11:31:35 2011 UTC (2 years, 2 months ago) by
benjamin
update tr.pm
Revision
6753 -
Directory Listing
Modified
Tue Mar 22 11:30:33 2011 UTC (2 years, 2 months ago) by
benjamin
fixed Problem.pm
Revision
6752 -
Directory Listing
Modified
Tue Mar 22 08:19:12 2011 UTC (2 years, 2 months ago) by
benjamin
translated up button (Ozcan)
Revision
6751 -
Directory Listing
Modified
Tue Mar 22 08:07:45 2011 UTC (2 years, 2 months ago) by
benjamin
More translations to tr.pm (Ozcan)
Revision
6750 -
Directory Listing
Modified
Mon Mar 21 21:11:15 2011 UTC (2 years, 2 months ago) by
benjamin
WeBWorK-tr ... for webwork translated!
Revision
6749 -
Directory Listing
Modified
Mon Mar 21 21:04:21 2011 UTC (2 years, 2 months ago) by
benjamin
Adding lexicon
Revision
6748 -
Directory Listing
Modified
Mon Mar 21 20:56:32 2011 UTC (2 years, 2 months ago) by
benjamin
Updating translation files
Revision
6747 -
Directory Listing
Modified
Mon Mar 21 19:34:24 2011 UTC (2 years, 2 months ago) by
benjamin
update Translate.pm
Revision
6746 -
Directory Listing
Modified
Mon Mar 21 19:29:50 2011 UTC (2 years, 2 months ago) by
aubreyja
again, copying current webwork2 code into bw branch
Revision
6745 -
Directory Listing
Modified
Mon Mar 21 19:29:07 2011 UTC (2 years, 2 months ago) by
aubreyja
try again
Revision
6744 -
Directory Listing
Modified
Mon Mar 21 19:03:16 2011 UTC (2 years, 2 months ago) by
aubreyja
copying current pg code into bw branch
Revision
6743 -
Directory Listing
Modified
Mon Mar 21 19:01:42 2011 UTC (2 years, 2 months ago) by
aubreyja
copying current webwork2 code into bw branch
Revision
6742 -
Directory Listing
Modified
Mon Mar 21 18:47:41 2011 UTC (2 years, 2 months ago) by
benjamin
Revision
6741 -
Directory Listing
Added
Mon Mar 21 13:22:14 2011 UTC (2 years, 3 months ago) by
aubreyja
Dev branch for Ben Walter