[Xerte] Re: ***SPAM*** Re: ***SPAM*** Re: Moodle SCORM import error
Tom Reijnders
reijnders at tor.nl
Thu Nov 29 08:08:26 GMT 2012
It's a bit more involved in XOT, because there is no place to change it
visually. I am trying to think of a solution.
However, for now:
1. Add sv-SV to the $langauges array on line 211 of
website_code/php/login_library.php. Now you can choose Slovenian on the
login page. It should choose Slovenian automatically in IE9 and Chrome
when you have a Slovenian browser. For Dutch, it doesn't work in Firefox.
2. Still, sometimes this doesn't work. Check
modules/xerte/parent_templates/Nottingham/Nottingham.rlt and make sure
that the language attribute is NOT set. Than any new LO will get the
language attribute set from the login page. Or you can fore it to
Slovenian in your organisation by setting it to 'sv-SV'.
3. The language used by XOT is determined by the language attribute in
data.xml and/or preview.xml in the USER-FILES folders. There is a
data.xml / preview.xml for each LO.
Hope this helps,
Tom
Op 29-11-2012 8:57, Brane S(mitek schreef:
>
> I solved problem.
>
> Still I have problems with LO user interface localization.
>
> where I have to change the language variable for LO user interface ?
>
> In desktop Xerte I copied engine_en-GB, wizard_en-GB and made my own
> files engine_sv-SV, wizard_sv-SV and translated text
>
> from English to Slovenian language. I added line <language
> name="Slovenian (sv-SV)" code="sv-SV" file = "engine_sv-SV.xml"
> wizardfile="wizard_sv-SV.xml" editorfile="editor_sv-SV.xml" />
>
> in language-config. In desktop xerte those changes worked for me and I
> have Slovenian LO user interface.
>
> In XOT LO I've made the same changes but LO user interface language
> didn't change.
>
> *From:*xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom Reijnders
> *Sent:* Thursday, November 29, 2012 8:46 AM
> *To:* Xerte discussion list
> *Subject:* ***SPAM*** [Xerte] Re: ***SPAM*** Re: Moodle SCORM import error
>
> Then you have to change it there (the file with the static
> username/password) and in the login details table.
>
> Tom
>
> Op 27-11-2012 10:30, Brane S(mitek schreef:
>
> I don't use LDAP server. I use static authorization at this
> moment, LDAP maybe in future.
>
> *From:*xerte-bounces at lists.nottingham.ac.uk
> <mailto:xerte-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat
> Lockley
> *Sent:* Tuesday, November 27, 2012 10:09 AM
> *To:* Xerte discussion list
> *Subject:* ***SPAM*** [Xerte] Re: Moodle SCORM import error
>
> I think that is set from your LDAP server when you log in?
>
> On Tue, Nov 27, 2012 at 8:50 AM, Brane S(mitek
> <brane.smitek at fov.uni-mb.si <mailto:brane.smitek at fov.uni-mb.si>>
> wrote:
>
> I found problem.
>
> In my imsmanifest.xml system writes <imsmd:entity>Branislav
> mitek</imsmd:entity>.
>
> So I've got an error "XML: Invalid character" during import ZIP
> file in Moodle.
>
> In management.php I've set up my original lastname (S(mitek) and
> now I have problems.
>
> I changed my lastname in management.php but I still see in XOT
> opening window "Logged in as Branislav S(mitek."
>
> Imsmanifest.xml still has wrong parameter. Where I have to change
> my lastname that I won't have problem in future.
>
> *From:*xerte-bounces at lists.nottingham.ac.uk
> <mailto:xerte-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-bounces at lists.nottingham.ac.uk
> <mailto:xerte-bounces at lists.nottingham.ac.uk>] *On Behalf Of *Dave
> Burnett
> *Sent:* Monday, November 26, 2012 7:24 PM
> *To:* Xerte list
> *Subject:* [Xerte] Re: Moodle SCORM import error
>
> Try renaming the .rlo or .rlt's that come out of the zip to .xml
> extension.
>
> Then drag them on any browser. Chrome shows detailed xml info.
>
> That should indicate errors or malforms.
>
> ------------------------------------------------------------------------
>
> From: brane.smitek at fov.uni-mb.si <mailto:brane.smitek at fov.uni-mb.si>
> To: xerte at lists.nottingham.ac.uk <mailto:xerte at lists.nottingham.ac.uk>
> Date: Mon, 26 Nov 2012 19:03:00 +0100
> Subject: [Xerte] Re: Moodle SCORM import error
>
> I've validated template.xml and preview.xml. Results for both
> documenta are the same:
>
> I attach my xml documnets taht you can use it in validator.
>
> Notes and Potential Issues
>
> The following notes and warnings highlight missing or conflicting
> information which caused the validator to perform some guesswork
> prior to validation, or other things affecting the output below.
> If the guess or fallback is incorrect, it could make validation
> results entirely incoherent. It is /highly recommended/ to check
> these potential issues, and, if necessary, fix them and
> re-validate the document.
>
> 1. *Missing "**charset**" attribute for "**text/xml**" document.*
>
> The HTTP Content-Type header (text/xml) sent by your web browser
> (Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.11 (KHTML, like
> Gecko) Chrome/23.0.1271.64 Safari/537.11) did not contain a
> "charset" parameter, but the Content-Type was one of the XML
> text/* sub-types.
>
> The relevant specification (RFC 3023
> <http://www.ietf.org/rfc/rfc3023.txt>) specifies a strong default
> of "us-ascii" for such documents so we will use this value
> regardless of any encoding you may have indicated elsewhere.
>
> If you would like to use a different encoding, you should arrange
> to have your browser send this new encoding information.
>
> 2. No Character encoding declared at document level
>
> No character encoding information was found within the document,
> either in an HTML meta element or an XML declaration. It is often
> recommended to declare the character encoding in the document
> itself, especially if there is a chance that the document will be
> read from or saved to disk, CD, etc.
>
> See this tutorial on character encoding
> <http://www.w3.org/International/tutorials/tutorial-char-enc/#Slide0250> for
> techniques and explanations.
>
> 1.
>
> Sorry, I am unable to validate this document because on line
> *2* it contained one or more bytes that I cannot interpret as
> us-ascii (in other words, the bytes found are not valid values in
> the specified Character Encoding). Please check both the content
> of the file and the character encoding indication.
>
> The error was: ascii "\xC5" does not map to Unicode
>
> If I copy text from file to validator I get 408 errors. This is
> very strange.
>
> *From:*xerte-bounces at lists.nottingham.ac.uk
> <mailto:xerte-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Pat
> Lockley
> *Sent:* Monday, November 26, 2012 5:06 PM
> *To:* Xerte discussion list
> *Subject:* [Xerte] Re: Moodle SCORM import error
>
> copy and paste the XML from the two files into an XML validator
>
> http://validator.w3.org/#validate_by_input
>
> On Mon, Nov 26, 2012 at 3:44 PM, Brane S(mitek
> <brane.smitek at fov.uni-mb.si <mailto:brane.smitek at fov.uni-mb.si>>
> wrote:
>
> I think it is. There are 2 xml files in SCORM zip. I don't know
> which causes the message.
>
> I open both files but I don't see the problem. In xerte desktop I
> had the same problem and I cahnged
>
> the name of RLO that it hasn't any slovene characters and problem
> disappeared.
>
> This medicine now doesn't work.
>
> *From:*xerte-bounces at lists.nottingham.ac.uk
> <mailto:xerte-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-bounces at lists.nottingham.ac.uk
> <mailto:xerte-bounces at lists.nottingham.ac.uk>] *On Behalf Of *Pat
> Lockley
> *Sent:* Monday, November 26, 2012 4:23 PM
> *To:* Xerte discussion list
> *Subject:* [Xerte] Re: Moodle SCORM import error
>
> is this not the xml & problem?
>
> On Mon, Nov 26, 2012 at 3:08 PM, Julian Tenney
> <Julian.Tenney at nottingham.ac.uk
> <mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
>
> You should be using a SCORM test suite. I use 1.2.7. The point is
> to isolate problems and whether they reside with the LMS or with
> Xerte.
>
> Do any other moodlers have the same problem?
>
> *From:*xerte-bounces at lists.nottingham.ac.uk
> <mailto:xerte-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-bounces at lists.nottingham.ac.uk
> <mailto:xerte-bounces at lists.nottingham.ac.uk>] *On Behalf Of
> *Brane S(mitek
> *Sent:* 26 November 2012 15:00
>
>
> *To:* 'Xerte discussion list'
> *Subject:* [Xerte] Re: Moodle SCORM import error
>
> Which SCORM test suite I can use? I don't have any.
>
> I just try to import SCORM in Moodle SCORM/AICC activity.
>
> When I close ativity setup window I get mentioned error.
>
> >It should use exactly the same files.
>
> This mean that I have to export LO in ZIP mode and
>
> change the files in languages folder (language-config.xml,
> engine_sv-SV.xml)?
>
> Is there any approach that I create template for creating slovene
> LO by default?
>
> lep pozdrav
>
> doc. dr. Branislav S(MITEK
> UMb FAKULTETA ZA ORGANIZACIJSKE VEDE
> Kidric(eva cesta 55/a
> 4000 KRANJ
>
> tel: 04 237 42 63
> fax: 04 237 42 99
> e-mail: brane.smitek at fov.uni-mb.si <mailto:brane.smitek at fov.uni-mb.si>
>
> *From:*xerte-bounces at lists.nottingham.ac.uk
> <mailto:xerte-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of
> *Julian Tenney
> *Sent:* Monday, November 26, 2012 3:48 PM
> *To:* Xerte discussion list
> *Subject:* [Xerte] Re: Moodle SCORM import error
>
> I've tried translate in desktop xerte language xml's and I've succed
>
> to get slovenian user interface. The same method doesn't work for
> XOT learning object.
>
> It should use exactly the same files.
>
>
> Regarding the SCORM, what happens in the scorm test suite?
>
> *From:*xerte-bounces at lists.nottingham.ac.uk
> <mailto:xerte-bounces at lists.nottingham.ac.uk>
> [mailto:xerte-bounces at lists.nottingham.ac.uk] *On Behalf Of *Brane
> S(mitek
> *Sent:* 26 November 2012 14:39
> *To:* xerte at lists.nottingham.ac.uk
> <mailto:xerte at lists.nottingham.ac.uk>
> *Subject:* [Xerte] Moodle SCORM import error
>
> I've made learning object in XOT and exported it to SCORM 1.2.
>
> When I've tried to use SCORM in Moodle I've got an error:
>
> *XML error: Invalid character at line 1*
>
> I've read suggestions in list but they don't work for me.
>
> Where is the mistake?
>
> I've attached my SCORM package.
>
> Another question:
>
> How can I translate learning object user interface in XOT.
>
> I've got already information about portal translation but I want
> to translate LO user inetrface.
>
> I've tried translate in desktop xerte language xml's and I've succed
>
> to get slovenian user interface. The same method doesn't work for
> XOT learning object.
>
> Kind regards
>
> Branislav SMITEK Ph.D.
> University of Maribor
> FACULTY OF ORGANIZATIONAL SCIENCES
> Kidriceva cesta 55/a
> SI4000 KRANJ
> SLOVENIA
>
> tel: +386 4 237 42 63 <tel:%2B386%204%20237%2042%2063>
> fax: +386 4 237 42 99 <tel:%2B386%204%20237%2042%2099>
> e-mail: brane.smitek at fov.uni-mb.si <mailto:brane.smitek at fov.uni-mb.si>
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk <mailto:Xerte at lists.nottingham.ac.uk>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk <mailto:Xerte at lists.nottingham.ac.uk>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
>
> _______________________________________________ Xerte mailing list
> Xerte at lists.nottingham.ac.uk <mailto:Xerte at lists.nottingham.ac.uk>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk <mailto:Xerte at lists.nottingham.ac.uk>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
>
>
>
>
>
>
> _______________________________________________
>
> Xerte mailing list
>
> Xerte at lists.nottingham.ac.uk <mailto:Xerte at lists.nottingham.ac.uk>
>
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
>
>
> --
> --
>
> Tom Reijnders
> TOR Informatica
> Chopinlaan 27
> 5242HM Rosmalen
> Tel: 073 5226191
> Fax: 073 5226196
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
--
--
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/attachments/20121129/8c5ea2c0/attachment-0001.html>
More information about the Xerte
mailing list