<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
About the 2 out of 4 issue....<br>
<br>
Yes, you are absolutely right that you have to be careful with the
order of words. My solution is just different, and in a way a bit
more flexible. The 'numbers' are referred to by a 'macro'($C, or
$T) and replaced in he text before display. This even gives you the
freedom as a user to skip the 'of 10' part.<br>
<br>
I'll put together an example and show you...<br>
<br>
Regards,<br>
<br>
Tom <br>
<br>
Op 19-3-2012 11:43, Kemp Johnathan schreef:
<blockquote
cite="mid:CABtG3=Ua+omV8a6LTnvStdmaoJr60hySTU9fn4=M2VZCHVDXEQ@mail.gmail.com"
type="cite">
<div><font color="#3333ff">Alistair was here on Friday and we did
a few accessibility tweaks, also I’ve been checking some
occasional fixes / new bits and pieces into
\templates\pageTemplates\models, so there are possibly changes
in the main set thata ren’t reflected in your own?</font><br>
</div>
<div><br>
</div>
<div>Yes my current models will not include any changes you made
on Friday. Tom if you want to update those changes go ahead. I
will need to check over the tab nav connector as it may also
need modifying since the tab navigator has changed. If you see
any issues of accessibility that I have missed in the new pages
then by all means address those as well.</div>
<div><br>
</div>
<div><br>
</div>
<div><font color="#3333ff">Furthermore, Jonathan, do you mind if I
change the way you handled the 'You scored 2 out of 4' issue.
For a translator it is MUCH easier to have to translate 'You
answered $C out of $T'. In the code you would have to
substitute $C and $T, and you have to explain users NOT to
change the $C and $T, but it is much more flexible and cleaner
than the way you do it now in my humble opinion.</font></div>
<div><br>
</div>
<div>The only reason I implemented the question 1 of 8, you have
scored 3 out of 10 etc. in a way that lets you choose whether to
put the page number before the count or the count before the
page number was because I don't know enough about the variety of
languages that Xerte may get translated in to to be sure that
one or more of them would not normally express things in what
would be to us the reverse order. Just as in English we say
telephone number whilst in French it is expresses as "number of
the telephone". If this is unlikely to be an issue then there is
no point in implementing it this way and simplifying it makes
sense. I am happy to be guided by you.</div>
<div><br>
</div>
<div>Whilst I have put in an amount of work to help with this next
version of Xerte I hope I can remain objective to achieving the
optimum solution and not become overly attached to any
particular feature that I may have introduced. If there are
features that I have introduced that you feel could be improved
or need modifying then now is the time to speak up. :-)</div>
<div><br>
</div>
<div> I think I understand what you are referring to with the
concept of the translation database. I look forward to seeing
what you have come up with. If it means that the English set
remain the master set that are updated, and then your database
allows for other translations file sets to be generated
automatically then that will be extremely valuable in coping
with the potential confusion that multiple sets of xwds could
introduce.</div>
<div><br>
</div>
<div>I may not be available now until later today.</div>
<div><br>
</div>
<div>Kind regards</div>
<div><br>
</div>
<div>Johnathan </div>
<div><br>
</div>
<div class="gmail_quote">On 19 March 2012 10:01, Tom Reijnders <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:reijnders@tor.nl">reijnders@tor.nl</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000"> Yes,<br>
<br>
Ultimately, there will be one set. It is NOT needed, but
VERY confusing if we don't do that. I am willing to make
sure we merge in the changes.<br>
<br>
Furthermore, Jonathan, do you mind if I change the way you
handled the 'You scored 2 out of 4' issue. For a translator
it is MUCH easier to have to translate 'You answered $C out
of $T'. In the code you would have to substitute $C and $T,
and you have to explain users NOT to change the $C and $T,
but it is much more flexible and cleaner than the way you do
it now in my humble opinion.<br>
<br>
I appreciate all your hard work, and this will give the
Xerte development by the community an enormous boost (I am
convinced of that). Given the fact that you/we CANNOT change
the identifiers used in the xwd (because that would
absolutely break the current XOT LO's, the translation is
far for trivial. You really have to know what you can
change and what NOT to touch. Your document explains that
clearly. Also, if we're not careful, we will re-introduce a
maintenance nightmare, if the xwd's of a translation get out
of synch with the English ones.<br>
<br>
My proposal is to have an helper website that will take the
English XWD's as master, and build a translation database
from those. Than the XWD's for the other languages will be
generated from the English XWD and the translation database.
If all goes well, I've got something working by the end of
the day...<br>
<br>
Regards,<br>
<br>
Tom<br>
<br>
<br>
<br>
Op 19-3-2012 10:40, Julian Tenney schreef:
<blockquote type="cite">
<div>
<div class="h5">
<div>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">How
are we going to merge the files in
pageWizards\models with
\templates\pageTemplates\models? We will end up
with one set of models?</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Alistair
was here on Friday and we did a few
accessibility tweaks, also I’ve been checking
some occasional fixes / new bits and pieces into
\templates\pageTemplates\models, so there are
possibly changes in the main set thata ren’t
reflected in your own?</span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<div style="border:none;border-top:solid #b5c4df
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:36.0pt"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif""
lang="EN-US"> <a moz-do-not-send="true"
href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"
target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>
[<a moz-do-not-send="true"
href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk"
target="_blank">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Kemp Johnathan<br>
<b>Sent:</b> 17 March 2012 19:19<br>
<b>To:</b> Xerte Developers Discussion List<br>
<b>Subject:</b> [Xerte-dev] Desktop files
developments - ready for testing</span></p>
</div>
<p class="MsoNormal" style="margin-left:36.0pt"> </p>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">I
have now committed to the svn the new model and
xwd files that have support for
internationalisation and the generation of a
single template.xwd file from a set of
individual page xwd files. This includes new
thumb images were required. I have also provide
draft new versions of the project files
pagetemplate.rlo complete with new xml and xwd
files to provide a variety of project layout /
colour change options. There are a number of new
pages including 7 connector pages, an inventory
page and an index changer page (desktop projects
only);</p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">I
have updated the Project State of Play.rtf file
to reflect what I believe is now the current
situation.</p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">As
far as I can tell the only changes that will be
required to be made to a few of the xwd files is
the addition of the name of the icon once one
has been added to the Xerte engine. Other than
that they should be stable enough for
translation to begin. In the svn I have added in
the page wizards section a supporting documents
folder which contains a brief guide to support
the translation of xwd files into other
languages. It is in both Open Office and pdf
format, so that others can translate the
document if they wish.</p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">Kind
regards</p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"> </p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">Johnathan</p>
</div>
</div>
<br>
<p> 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. </p>
<p> 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. </p>
<br>
<br>
</div>
</div>
<pre>_______________________________________________
Xerte-dev mailing list
<a moz-do-not-send="true" href="mailto:Xerte-dev@lists.nottingham.ac.uk" target="_blank">Xerte-dev@lists.nottingham.ac.uk</a>
<a moz-do-not-send="true" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><div class="im">
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.
</div></pre>
</blockquote>
<br>
<pre cols="72">--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
</pre>
</div>
<br>
_______________________________________________<br>
Xerte-dev mailing list<br>
<a moz-do-not-send="true"
href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a moz-do-not-send="true"
href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev"
target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
<br>
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.<br>
<br>
This message has been checked for viruses but the contents of
an attachment<br>
may still contain software viruses which could damage your
computer system:<br>
you are advised to perform your own checks. Email
communications with the<br>
University of Nottingham may be monitored as permitted by UK
legislation.<br>
<br>
<br>
</blockquote>
</div>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Xerte-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a>
<a class="moz-txt-link-freetext" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a>
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.
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
--
Tom Reijnders
TOR Informatica
Chopinlaan 27
5242HM Rosmalen
Tel: 073 5226191
Fax: 073 5226196
</pre>
</body>
</html>