[Xerte-dev] Re: new release of Windows Xerte (Was: any updated code to add to the test server?)
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Thu May 24 15:42:47 BST 2012
Damn, I can't commit for the time being...
From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 24 May 2012 15:12
To: For Xerte technical developers
Subject: [Xerte-dev] Re: new release of Windows Xerte (Was: any updated code to add to the test server?)
Ok... have a look at the latest MainPreloader.fla.
It loads the xml file first. and I added an extra variable... loader.language. When the xml is loaded (look in the callback function), loader.language is set to the language attribute found in learningObject.
If we could change the order of loading files in preview as well.... we could do the same. But in preview, the language config file is loaded first.
Op 24-5-2012 16:02, Julian Tenney schreef:
Got the checkbox thing: it's setLabel(), not .label. I know, the help says .label. Grr.
Can you expand ion this a little bit / pseudo code it for me? There's no problem swapping things around, as long as (obviously) you don't load XMLEngine until last, it will expect the content XML to be there when it loads up.
1. When previewing, the engine doesn't switch language. I suppose preview.fla needs editing, but it differs too much from MainPrelaoder that I did not dare to touch it without understanding it a bit better. I assume this is built right into the xerte executable, so I can't test this, I can't build the Xerte.exe. MainPreloader first loads the xml, and than the language files. That's convenient , because now I can pickup the language attribute from the learningObject. preview.fla loads the language config first and than the xml, but I don't know whether it is safe to change that, and like I said, I can't test it
From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 24 May 2012 14:33
To: For Xerte technical developers
Subject: [Xerte-dev] Re: new release of Windows Xerte (Was: any updated code to add to the test server?)
There is a new function in the wizard setTranslation()
But somehow it doesn't work for the check boxes.
The order of loading the files s different in preview.fla and MainPreloader.fla. MainPreloader loads the xml first and then the language files. Great! I want it thatway. preview loads the language first, and I don't see any reason why we couldn't change that, but I can't test that. I don't have Zinc....
Tom
Op 24-5-2012 14:42, Julian Tenney schreef:
Tom,
How are you setting translated text on the buttons in the wizard? That's the place to set the labels for the checkboxes as well, but I can't see how you're doing it.
Yes, the MainPreloader.swf in XOT is the same one as in Xerte.
The preview.fla is different because it holds some functions to be used at edit time, called from Editor.fla, but is otherwise (and should be) the same as MainPeloader.
Preview.fla needs building into the exe with Zinc, otherwise it's not at _level0, which matters to xerte script code, and code in the engine.
From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 23 May 2012 12:26
To: For Xerte technical developers
Subject: [Xerte-dev] Re: new release of Windows Xerte (Was: any updated code to add to the test server?)
Tackled almost all language settings in the standalone version. Remaining issues:
1. When previewing, the engine doesn't switch language. I suppose preview.fla needs editing, but it differs too much from MainPrelaoder that I did not dare to touch it without understanding it a bit better. I assume this is built right into the xerte executable, so I can't test this, I can't build the Xerte.exe. MainPreloader first loads the xml, and than the language files. That's convenient , because now I can pickup the language attribute from the learningObject. preview.fla loads the language config first and than the xml, but I don't know whether it is safe to change that, and like I said, I can't test it.
2. I assume the MainPreloader has to end up in XOT as well.
3. Still two strings (from the checkboxes) on the status bar of the wizard are not translated, and I don't know why not.
Tom
Op 17-5-2012 14:30, Julian Tenney schreef:
The editor knows nothing of the xml file, only the wizard knows about that.
From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 17 May 2012 13:11
To: For Xerte technical developers
Subject: [Xerte-dev] Re: new release of Windows Xerte (Was: any updated code to add to the test server?)
Agree..., but what object in the editor contains the xml....?
Op 17-5-2012 14:04, Julian Tenney schreef:
In the case of templates based projects, could it be that the same .rlt is used to author pieces in lots of languages?
Yes, in the case of XOT
Then the setting has to live with something project-specific, i.e. the xml file.
From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 17 May 2012 12:35
To: For Xerte technical developers
Subject: [Xerte-dev] Re: new release of Windows Xerte (Was: any updated code to add to the test server?)
Op 17-5-2012 13:27, Julian Tenney schreef:
You might need to back-peddle a bit while I understand what's required: this is to configure the language for a particular project, right?
Right.
So for a particular .rlo or .rlt file?
Ehmmm... yes in Xerte standalone, not in XOT, than it is for a specific .xml
In the case of templates based projects, could it be that the same .rlt is used to author pieces in lots of languages?
Yes, in the case of XOT
Or is this an application-wide setting, for all projects made with this version of xerte? In which case, put it in a file somewhere in the install.
That is also an option, but not the one I thought of. I wanted to be able to choose the language for each piece seperately. I have that now, it is in the Pages menu, but if I open a previously created project, I want the editor/wizard to switch to the language the piece was originally written in.
How will it work for toolkits?
I would assume in toolkits, you set the language of the user interface and that determines the language of the wizard and the xwd's
From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 17 May 2012 12:24
To: For Xerte technical developers
Subject: [Xerte-dev] Re: new release of Windows Xerte (Was: any updated code to add to the test server?)
Julian,
I have a hard time finding the proper/best place to add this feature. Firt I thought the only thing I had to do was add the attribute to the first child of contentXML in editor.fla, but that's not the correct object. contentXML contains the .rlm/.rlo/.rlt. Right?
So what is the correct object?
Tom
Op 15-5-2012 13:00, Julian Tenney schreef:
Yes, OK.
From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 15 May 2012 11:59
To: For Xerte technical developers
Subject: [Xerte-dev] Re: new release of Windows Xerte (Was: any updated code to add to the test server?)
Hmmm... I assume we will use this also to select the engine language at 'runtime'? At least for now?
Tom
Op 14-5-2012 12:11, Tom Reijnders schreef:
I'll give it a go....
Op 14-5-2012 12:03, Julian Tenney schreef:
I'd put it on the LO tag as an attribute authorLanguage="en-GB"
Defaults to English I guess.
From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 14 May 2012 10:49
To: For Xerte technical developers
Subject: [Xerte-dev] Re: new release of Windows Xerte (Was: any updated code to add to the test server?)
Yes, I don't see any reason for wizard support. Why would you want to change the authoring language.
So...
1. Where should we (I) add that attribute to the xml.
2. What is the most logical place to check that attribute when opening an LO?
One other small issue is how to determine the default language (if at all) when opening Xerte (with no LO , so from the link on the desktop)
Op 14-5-2012 11:31, Julian Tenney schreef:
OK, let's do that: you mean just add it to the bare bones xml file with no wizard support?
From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 14 May 2012 10:30
To: For Xerte technical developers
Subject: [Xerte-dev] Re: new release of Windows Xerte (Was: any updated code to add to the test server?)
For 2. No I think we should seperate the two, and thus add authorlanguage. I assume it will be in the xml. No use to expose it in the xwd. I don't see any reason why you would change your authoring language at the moment.
For 1. I'll take that off-line and send you a screen shot.
Op 14-5-2012 11:06, Julian Tenney schreef:
How do I see an example of 1? Not sure what you mean...
For 2 I'm not sure either: I guess we need to expose it on the LO properties, but there is already a 'language' property that configures the soft keyboard for 'funny' characters. The trouble with that is that the LO might well be written in English, but includes French exercises, so the language would be set to French, even though the authoring language was English.
Maybe we just need to define 'authorLanguage' and use that?
I can't think of any other way, can you?
From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders
Sent: 14 May 2012 09:59
To: For Xerte technical developers
Subject: [Xerte-dev] Re: new release of Windows Xerte (Was: any updated code to add to the test server?)
I created a separate topic for the Windows version...
I will generate a new beta in 15 minutes.
two things need to happen (as far as I am concerned)
- I can't get the translation into the two checkboxes (advanced etc in the wizard. Don't know why)
- I need a way to put the editor in the correct language mode if you open an existing LO that was created with a different language mode than.
Don't know exactly what the easiest way is to do 2. Obviously we need to add a way to store the selected language in the xml of the LO, and than act on that when opening the LO in Xerte.
Op 14-5-2012 10:49, Julian Tenney schreef:
How long do you reckon you need to get those enhancements into the codebase? I'd quite like them to go in this release if that's manageable. On the other hand I'd like to get this release done asap: we want to upgrade our installation here to the latest code, because some of the requests we've had from people here are only in the new build; also, we have the Xenith project up and running and want to release the HTML5 stuff in October when that ends: I'd prefer not to have two releases very close together, I'd prefer to get this finished and on the web site soon.
Are we in a position to release a updated Xerte for Windows? That would be a good first step.
From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of David Goodwin
Sent: 12 May 2012 18:11
To: For Xerte technical developers
Subject: [Xerte-dev] Re: any updated code to add to the test server?
On 12 May 2012, at 12:18, Ron Mitchell wrote:
Hi all
just a quick note to say after today I won't have access to add any new code/files to the test installation until next weekend. So if anyone is working on any changes/updates that you wish to be tested during the coming week please commit to the XOT svn today.
I did do some experimentation with regards to moving all the authentication adaptor configuration into the setup process; but it probably needs some more thought (e.g. quite what should a database authenticator ask for - username/hostname/password/table name/field name(s) etc?).
David
Pale Purple Ltd. (Company No: 5580814)
'Business Web Application Development and Training in PHP'
http://www.palepurple.co.uk
Office: 0845 0046746 Mobile: 07792380669
Follow us on Twitter: @PalePurpleLtd
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto:Xerte-dev at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.
--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20120524/4ed79307/attachment-0001.html>
More information about the Xerte-dev
mailing list