I have packed a new bundle with french and spanish .mo languages files. I don't have the right xo update with joyride, nor the machine here, to test. Can someone with latest joyride give a test to the bundle http://squeak.ofset.org/drgeo/DrGeoII-test.xo and try to switch to french and spanish?
For now I commited the tree in a subversion repository at http://svn.gna.org/viewcvs/istoa/trunk/artefacts/drgeo/
Hilaire
Hi, Hilaire
On Jan 31, 2008 6:44 AM, Hilaire Fernandes hilaire@ofset.org wrote:
I have packed a new bundle with french and spanish .mo languages files. I don't have the right xo update with joyride, nor the machine here, to test. Can someone with latest joyride give a test to the bundle http://squeak.ofset.org/drgeo/DrGeoII-test.xo and try to switch to french and spanish?
A couple of fixes were needed to start the activity successfully: ** chmod +x DrGeoII.sh ** in DrGeo.sh,
args="$args $BUNDLE_PATH $SUGAR_BUNDLE_PATH"
has to be: (why you changed it from DrGeoII-3.xo?)
args="$args BUNDLE_PATH $SUGAR_BUNDLE_PATH"
And you forgot to put registration of TextDomain as I wrote? I could't find it in the project.
Sorry I don't have time to fix them for you right now...
Cheers, /Korakurider
With the help of Bert, I fixed it a few hours ago. If you reload DrGeoII-test.xo, it should work fine
Hilaire
2008/1/31, Korakurider korakurider@gmail.com:
Hi, Hilaire
On Jan 31, 2008 6:44 AM, Hilaire Fernandes hilaire@ofset.org wrote:
I have packed a new bundle with french and spanish .mo languages files. I don't have the right xo update with joyride, nor the machine here, to test. Can someone with latest joyride give a test to the bundle http://squeak.ofset.org/drgeo/DrGeoII-test.xo and try to switch to french and spanish?
A couple of fixes were needed to start the activity successfully: ** chmod +x DrGeoII.sh ** in DrGeo.sh,
args="$args $BUNDLE_PATH $SUGAR_BUNDLE_PATH" has to be: (why you changed it from DrGeoII-3.xo?) args="$args BUNDLE_PATH $SUGAR_BUNDLE_PATH"
And you forgot to put registration of TextDomain as I wrote? I could't find it in the project.
Sorry I don't have time to fix them for you right now...
Cheers, /Korakurider
On Feb 1, 2008 4:23 AM, Hilaire Fernandes hilaire@ofset.org wrote:
With the help of Bert, I fixed it a few hours ago. If you reload DrGeoII-test.xo, it should work fine
I tested DrGeoII.xo (as DrGeoII-test.xo isn't there) and translation didn't work Because as I wrote:
And you forgot to put registration of TextDomain as I wrote? I could't find it in the project.
the registration is still missing in DrGeoII.pr, so I had to put it in postscript. (I will send you the modified version off-list. You could review postscript of DrGeoII changeset) After replacing DrGeoII.pr in the bundle, translation work now ! see http://d.hatena.ne.jp/korakurider/20080202/p3
I can't use Joyride environment right now. So I used Ship2 on B4 box and replaced etoys.image with the latest one. but it should work with the latest joyride or upcoming update.1
Remaining problem is that the textdomain registration isn't saved within changeset, so translation shouldn't work after resuming from journal. I think we want to actually implement the idea of splitting base-App and project (http://lists.laptop.org/pipermail/etoys/2008-January/001889.html), then base-app could initialize it on startup. Also BotsInc would need it for making sure eToyFriendly is false.
Cheers, /Korakurider
Really strange because localisation is working for me. The Text domain registration is done in the DrGDistroInfo class initialize method, and as the DrGeo code is compiled at each load.
Reloading from the journal does not work, strangely my method Float>>arcTan2: (the original arcTan: is wrong) get lost in between.
Hilaire
2008/2/1, Korakurider korakurider@gmail.com:
On Feb 1, 2008 4:23 AM, Hilaire Fernandes hilaire@ofset.org wrote:
With the help of Bert, I fixed it a few hours ago. If you reload DrGeoII-test.xo, it should work fine
I tested DrGeoII.xo (as DrGeoII-test.xo isn't there) and translation didn't work Because as I wrote:
And you forgot to put registration of TextDomain as I wrote? I could't find it in the project.
the registration is still missing in DrGeoII.pr, so I had to put it in postscript. (I will send you the modified version off-list. You could review postscript of DrGeoII changeset) After replacing DrGeoII.pr in the bundle, translation work now ! see http://d.hatena.ne.jp/korakurider/20080202/p3
I can't use Joyride environment right now. So I used Ship2 on B4 box and replaced etoys.image with the latest one. but it should work with the latest joyride or upcoming update.1
Remaining problem is that the textdomain registration isn't saved within changeset, so translation shouldn't work after resuming from journal. I think we want to actually implement the idea of splitting base-App and project (http://lists.laptop.org/pipermail/etoys/2008-January/001889.html), then base-app could initialize it on startup. Also BotsInc would need it for making sure eToyFriendly is false.
Cheers, /Korakurider
On Feb 2, 2008 7:07 AM, Hilaire Fernandes hilaire@ofset.org wrote:
Really strange because localisation is working for me. The Text domain registration is done in the DrGDistroInfo class initialize method, and as the DrGeo code is compiled at each load.
Hmm, I can't reproduce the problem and your original works maybe my bad in late night :-<
/Korakurider
But if you try to save a project, then reload it does not work. I think it was working when I tried previously (with previous drgeo version and in update.1)
Hilaire
2008/2/2, Korakurider korakurider@gmail.com:
On Feb 2, 2008 7:07 AM, Hilaire Fernandes hilaire@ofset.org wrote:
Really strange because localisation is working for me. The Text domain registration is done in the DrGDistroInfo class initialize method, and as the DrGeo code is compiled at each load.
Hmm, I can't reproduce the problem and your original works maybe my bad in late night :-<
/Korakurider
etoys-dev@lists.squeakfoundation.org