[Xerte-dev] Re: language attribute

Ron Mitchell ronm at mitchellmedia.co.uk
Mon Jul 16 12:53:53 BST 2012


Using your example if you open cTabNav.rlm in a text/code editor and search
for en-GB or even GB it isn't found but if you open cTabNav.rlm in xerte
that language property does show so is it being automatically generated
elsewhere?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 16 July 2012 12:35
To: For Xerte technical developers
Subject: [Xerte-dev] Re: language attribute

 

Something wrong then, because I just opened this and see it: you can see the
path to the file.

 



 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 16 July 2012 12:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: language attribute

 

runtime/pages/models

 

This is the 'one' location, right? Where else would I be looking?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp
Johnathan
Sent: 16 July 2012 12:21
To: For Xerte technical developers
Subject: [Xerte-dev] Re: language attribute

 

Every model seems to have language en-GB set in it. 

 

Which location are you looking in?

 

I updated both my Xerte and XOT svns this morning.

 

I have used Flash Develop to perform a search in folders for
language="en-GB"

 

It found no occurrences of the string in 

 

Xerte svn / runtime / pages / models

 

It found 3 occurrences in 

 

XOT svn / modules / xerte / parent_templates / Nottingham / models 

 

These were

hotspotImage.rlm

list.rlm

newWindow.rlm

 

Kind regards

 

Johnathan

 

On 16 July 2012 11:36, Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:

Every model seems to have language en-GB set in it.

 

If I recall correctly, you said they shouldn't. Before I delete them all, is
that the case?

 

We are never going to get this finished if, when people find issues, they
don't fix them. So in this case, fixing the three recently edited files was
good, but it would also have been good to think 'how many other models have
this in them?'

 

C'mon guys.

 

 

You said:

 

Just a reminder.

 

when updating any of the model files in xerte svn / runtime / pages / models


 

During the testing and development of your update Xerte may insert the text

 

language="en-GB" into the first line of your model e.g

 

    <PG title="New Window" name="newWindow">

 

will become

 

    <PG  language="en-GB" title="New Window" name="newWindow">

 

Typically this will happen if you create a page in a pages project using the
page type you are modifying and then save the model after making changes and
testing them.

 

You need to remove the 

 

language="en-GB"

 

text from the first line as it may compromise the use of the model in files
developed in other languages than english.

 

I have just corrected this in three files that have been edited recently

 

hotspotImage.rlm

list.rlm

newWindow.rlm

 

 

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
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.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20120716/2dc94cc3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 51782 bytes
Desc: not available
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20120716/2dc94cc3/attachment-0001.png>


More information about the Xerte-dev mailing list