<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Yes, I think that would be better (easier to maintain).<br>
<br>
<div class="moz-cite-prefix">Op 19-11-2012 16:24, Julian Tenney
schreef:<br>
</div>
<blockquote
cite="mid:12C67A1EEC419342AF5E59DA31562C3F0C40876AD0@EXCHANGE1.ad.nottingham.ac.uk"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";
color:black;}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";
color:black;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0cm;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";
color:black;}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;
color:black;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.EmailStyle22
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle23
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle24
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.EmailStyle25
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">At
the moment the code in the editor copies the languages
folder from /publish to the location of the piece. Should we
be copying a different folder [root]/languages instead? Then
we only need one set of the files…<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<div>
<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";color:windowtext"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US"> <a class="moz-txt-link-abbreviated" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>
[<a class="moz-txt-link-freetext" href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On
Behalf Of </b>Tom Reijnders<br>
<b>Sent:</b> 19 November 2012 15:00<br>
<b>To:</b> For Xerte technical developers<br>
<b>Subject:</b> [Xerte-dev] Re: Publishing<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">If
I look at the code in the editor, all language files (i.e for
the engine) . At the moment, they are NOT copied from the
'normal' language folder.<br>
<br>
Perhaps that should be changed.<br>
<br>
Tom<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-left:36.0pt">Op 19-11-2012
13:38, Julian Tenney schreef:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-left:36.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">After
the installer has run, wha files do you expect in
[runtime]/publish/languages?</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">There
is only language-config.xml there right now</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:72.0pt"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"
lang="EN-US"> <a moz-do-not-send="true"
href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>
[<a moz-do-not-send="true"
href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Tom Reijnders<br>
<b>Sent:</b> 19 November 2012 12:37<br>
<b>To:</b> For Xerte technical developers<br>
<b>Subject:</b> [Xerte-dev] Re: Publishing</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:72.0pt"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:72.0pt">Ehmm...
the installer itself should take care of everything, i.e.
the files should be copied to the right locations by the
installer, but I don't do anything special.<br>
<br>
The last thing I changed in the editor, is make sure, that
when we do not have a pages project, the pages are not
available.<br>
<br>
<br>
<br>
<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-left:72.0pt">Op
19-11-2012 12:46, Julian Tenney schreef:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-left:72.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">They
are getting copied from publish/languages, and there is
only language-config.xml in there. I’ve added the two
English ones. </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I’m
just wondering if Tom did anything to setup to copy and
config the language options when you run the installer?</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">It
should be OK now anyway??</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:108.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">xerte-dev-bounces@lists.nottingham.ac.uk</a>
[<a moz-do-not-send="true"
href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Julian Tenney<br>
<b>Sent:</b> 19 November 2012 11:40<br>
<b>To:</b> For Xerte technical developers<br>
<b>Subject:</b> [Xerte-dev] Re: Publishing</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:108.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">It’s
the missing language files, definitely, that is causing
the problem.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:108.0pt"><span
style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:144.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">xerte-dev-bounces@lists.nottingham.ac.uk</a>
[<a moz-do-not-send="true"
href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">mailto:xerte-dev-bounces@lists.nottingham.ac.uk</a>]
<b>On Behalf Of </b>Kemp Johnathan<br>
<b>Sent:</b> 19 November 2012 11:39<br>
<b>To:</b> For Xerte technical developers<br>
<b>Subject:</b> [Xerte-dev] Re: Publishing</span><o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:144.0pt"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-left:144.0pt">If you
publish from the wizard does your project now preview in
a browser?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:144.0pt"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:144.0pt">I just
tried republishing my project using the option from the
wizard but it still won't run in a web browser.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:144.0pt"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:144.0pt">JK<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:144.0pt"> <o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-left:144.0pt">On 19
November 2012 11:34, Julian Tenney <<a
moz-do-not-send="true"
href="mailto:Julian.Tenney@nottingham.ac.uk"
target="_blank">Julian.Tenney@nottingham.ac.uk</a>>
wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:144.0pt">I
think the publishing thing is because the language
files aren’t being copied. I get a languages folder,
but not the english files.<o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:144.0pt"> <o:p></o:p></p>
<p class="MsoNormal"
style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:144.0pt">Strangely,
though, if I publish a page template from the
wizard, I do get them…<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:144.0pt"> <o:p></o:p></p>
<p style="margin-left:144.0pt">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. <o:p></o:p></p>
<p style="margin-left:144.0pt">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. <o:p></o:p></p>
</div>
<p class="MsoNormal"
style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:144.0pt"><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.<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:144.0pt"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:72.0pt"><br>
<br>
<br>
<br>
<o:p></o:p></p>
<pre style="margin-left:72.0pt">_______________________________________________<o:p></o:p></pre>
<pre style="margin-left:72.0pt">Xerte-dev mailing list<o:p></o:p></pre>
<pre style="margin-left:72.0pt"><a moz-do-not-send="true" href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><o:p></o:p></pre>
<pre style="margin-left:72.0pt"><a moz-do-not-send="true" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><o:p></o:p></pre>
<pre style="margin-left:72.0pt"> <o:p></o:p></pre>
<pre style="margin-left:72.0pt">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.<o:p></o:p></pre>
<pre style="margin-left:72.0pt"> <o:p></o:p></pre>
<pre style="margin-left:72.0pt">This message has been checked for viruses but the contents of an attachment<o:p></o:p></pre>
<pre style="margin-left:72.0pt">may still contain software viruses which could damage your computer system:<o:p></o:p></pre>
<pre style="margin-left:72.0pt">you are advised to perform your own checks. Email communications with the<o:p></o:p></pre>
<pre style="margin-left:72.0pt">University of Nottingham may be monitored as permitted by UK legislation.<o:p></o:p></pre>
<pre style="margin-left:72.0pt"> <o:p></o:p></pre>
</blockquote>
<p class="MsoNormal" style="margin-left:72.0pt"><br>
<br>
<br>
<o:p></o:p></p>
<pre style="margin-left:72.0pt">-- <o:p></o:p></pre>
<pre style="margin-left:72.0pt">--<o:p></o:p></pre>
<pre style="margin-left:72.0pt"> <o:p></o:p></pre>
<pre style="margin-left:72.0pt">Tom Reijnders<o:p></o:p></pre>
<pre style="margin-left:72.0pt">TOR Informatica<o:p></o:p></pre>
<pre style="margin-left:72.0pt">Chopinlaan 27<o:p></o:p></pre>
<pre style="margin-left:72.0pt">5242HM Rosmalen<o:p></o:p></pre>
<pre style="margin-left:72.0pt">Tel: 073 5226191<o:p></o:p></pre>
<pre style="margin-left:72.0pt">Fax: 073 5226196<o:p></o:p></pre>
<pre style="margin-left:72.0pt"> <o:p></o:p></pre>
<p class="MsoNormal" style="margin-left:36.0pt"><br>
<br>
<br>
<o:p></o:p></p>
<pre style="margin-left:36.0pt">_______________________________________________<o:p></o:p></pre>
<pre style="margin-left:36.0pt">Xerte-dev mailing list<o:p></o:p></pre>
<pre style="margin-left:36.0pt"><a moz-do-not-send="true" href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><o:p></o:p></pre>
<pre style="margin-left:36.0pt"><a moz-do-not-send="true" href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><o:p></o:p></pre>
<pre style="margin-left:36.0pt"><o:p> </o:p></pre>
<pre style="margin-left:36.0pt">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.<o:p></o:p></pre>
<pre style="margin-left:36.0pt"><o:p> </o:p></pre>
<pre style="margin-left:36.0pt">This message has been checked for viruses but the contents of an attachment<o:p></o:p></pre>
<pre style="margin-left:36.0pt">may still contain software viruses which could damage your computer system:<o:p></o:p></pre>
<pre style="margin-left:36.0pt">you are advised to perform your own checks. Email communications with the<o:p></o:p></pre>
<pre style="margin-left:36.0pt">University of Nottingham may be monitored as permitted by UK legislation.<o:p></o:p></pre>
<pre style="margin-left:36.0pt"><o:p> </o:p></pre>
</blockquote>
<p class="MsoNormal" style="margin-left:36.0pt"><br>
<br>
<o:p></o:p></p>
<pre style="margin-left:36.0pt">-- <o:p></o:p></pre>
<pre style="margin-left:36.0pt">--<o:p></o:p></pre>
<pre style="margin-left:36.0pt"><o:p> </o:p></pre>
<pre style="margin-left:36.0pt">Tom Reijnders<o:p></o:p></pre>
<pre style="margin-left:36.0pt">TOR Informatica<o:p></o:p></pre>
<pre style="margin-left:36.0pt">Chopinlaan 27<o:p></o:p></pre>
<pre style="margin-left:36.0pt">5242HM Rosmalen<o:p></o:p></pre>
<pre style="margin-left:36.0pt">Tel: 073 5226191<o:p></o:p></pre>
<pre style="margin-left:36.0pt">Fax: 073 5226196<o:p></o:p></pre>
<pre style="margin-left:36.0pt"><o:p> </o:p></pre>
</div>
<br>
<br>
<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>
</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>