[Xerte] Re: Translating the language variables of pages types

Tom Reijnders reijnders at tor.nl
Sun Jan 13 18:24:24 GMT 2013


Hi István,

Ok than, XOT. There are some rough edges in Choosing the language. I 
need to improve on that.

To only PLAY the LO in Hungarian, you need:
1. a hungarian version of languages/engine_en-GB.xml
2. add an entry for Hungarian in languages/language-config.xml
3. Have a language attribute in learningObject node of the 
USER-FILES/5-tom-Nottingham/data.xml file, where 5 is the ' id' of the 
LO and tom is the user name of the creator of the LO and Nottingham id 
the name of the template. I.e:

<learningObject language="nl-NL" name="Learning Object Title" ...

The value of the attribute, in this case "nl-NL" , should be the same as 
mentioned in the file modified in step 2.
4. For specific words in some of the templates you have to edit the LO:

For example the words you mentioned are in the quiz. Go to the quiz page 
of your LO and toggle the ' language attribute'



Then, you can overrule the default, in your case English text,  used in 
the quiz:



You should be able to select the language before you login, but the 
language config is not used yet, so even if you add Hungarian to the 
language-config.xml file, Hungarian will not appear in the list. 
Furthermore, if for some reason the master template contains a language 
attribute, you can't overrule that.

What we should also implement, but is not there yet is add the language 
to the first setup page of a new LO.

To be able to  AUTHOR in Hungarian involves 3 extra steps and will 
translate most of the XOT website and everything you see in the 
'Wizard/editor'. Also the default texts for the phrases in quiz will be 
in Hungarian. There is a special tool for that.  I will gladly point you 
in the right direction if you want to do that as well.

Regards,

Tom



Op 13-1-2013 18:25, István Pető schreef:
> Hi Tom,
>
> thank you for your kind help. Actually, I use mostly XOT (and edit the
> files with an external editor during my struggle with translation),
> but I've also installed the standalone version of Xerte as well.
>
> Istvan
>
> 2013/1/13 Tom Reijnders <reijnders at tor.nl>:
>> Hello István,
>>
>> There is a whole system for translation in place. It's not finished
>> completely and there are still some rough edges. I can explain in detail how
>> to do that.
>>
>> Can we go back to the start and an unpatched unmodified installation and go
>> from there?
>>
>> As far as I can tell you are using the standalone/developer version of
>> Xerte, correct?
>>
>> There are 4 components of standalone xerte that needs translation, if you
>> want to be able to author in Hungarian, i.e. that wizard forms are in
>> Hungarian too. If you're fine with the wizards being in English, and you
>> want the end-result to be in Hungarian (for the learner, that involves much
>> less work.)
>>
>> Tom
>>
>> Op 13-1-2013 10:16, István Pető schreef:
>>> Hello,
>>>
>>> still have one more issue: Is there a way to re-generate the languagae
>>> variables in existing LO's? As far as I see translations in data.xvd
>>> have an effect only on newly inserted pages. It's quite a big problem
>>> for me since I've already made about 40 LO's
>>>
>>> Regards,
>>> Istvan Peto
>>>
>>> 2013/1/12 István Pető <ipeto77 at gmail.com>:
>>>> Oops, it was my fault, I used wrong directory name (hu_HU instead of
>>>> hu-HU)
>>>>
>>>> 2013/1/12 István Pető <ipeto77 at gmail.com>:
>>>>> I guess I found the answer here:
>>>>>
>>>>> http://lists.nottingham.ac.uk/pipermail/xerte-dev/2013-January/003424.html
>>>>> However, it doesn't work for me... :( Any advice would be greatly
>>>>> appreciated.
>>>>>
>>>>> 2013/1/12 István Pető <ipeto77 at gmail.com>:
>>>>>> Hi,
>>>>>>
>>>>>> I have only one (hopefully) question regarding the translation in XOT:
>>>>>> Where and should I insert the
>>>>>> language variables of page types? I did some experimnets with the
>>>>>> MatchingTexts and tried to add these lines to the wizard_hu-HU.xml but
>>>>>> it didn't work:
>>>>>>
>>>>>>       <learningObject>
>>>>>>           <newNodes>
>>>>>>               <textMatch>
>>>>>>                   <textMatch name="Adj címet az oldalnak!" text="Készíts
>>>>>> leírást a feladathoz!" correctMessage="A helyes válaszokat
>>>>>> megjelöltük" submitBtnTxt="Elküld" submitBtnTip="A válaszok elküldése"
>>>>>> submitBtnWidth="80" />
>>>>>>               </textMatch>
>>>>>>           </newNodes>
>>>>>>       </learningObject>
>>>>>>
>>>>>> Regards,
>>>>>> Istvan Peto
>>> _______________________________________________
>>> Xerte mailing list
>>> Xerte at lists.nottingham.ac.uk
>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>> 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 mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>> 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 mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
> 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/attachments/20130113/39b9b3cf/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: caacdgce.png
Type: image/png
Size: 4054 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20130113/39b9b3cf/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cgbdfdfg.png
Type: image/png
Size: 48260 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20130113/39b9b3cf/attachment-0003.png>


More information about the Xerte mailing list