Next in thread → Next in month →

Re: [xliff] xml:lang

From
Dr. David Filip <>
Date
2014-01-21T13:38:32+00:00
ID
Thread
Re: [xliff] xml:lang
I also added the Constraint to <match> as rightly pointed out by Yves

Using xml:lang on <match> would disrupt the module very much as using it on file, group, or unit within core

Dr. David Filip

=======================

LRC | CNGL | LT-Web | CSIS

University of Limerick, Ireland

telephone: +353-6120-2781

cellphone: +353-86-0222-158

facsimile: +353-6120-2734

http://www.cngl.ie/profile/?i=452

mailto: 

On Tue, Jan 21, 2014 at 12:55 PM, Dr. David Filip <> wrote:

Thanks, Yves, inline

Dr. David Filip

=======================

LRC | CNGL | LT-Web | CSIS

University of Limerick, Ireland

telephone: +353-6120-2781

cellphone: +353-86-0222-158

facsimile: +353-6120-2734

http://www.cngl.ie/profile/?i=452

mailto: 

On Tue, Jan 21, 2014 at 12:23 PM, Yves Savourel <> wrote:

Hi David, all,

 

I assume that for target you meant to write:

 

“the value defined by the trgLang attribute on <file>.”

I meant to write trglang obn <xliff> 

 

Also for the constraint: There is no reason to forbid xml:lang on elements that do not affect the <source> and <target> inheritance. For example one may want to specify the language of a <note> element. So xml:lang should be prohibited only on <file>, <group> and <unit>. And, I suppose, on <mtc:match>.

I agree, I added the constraint prohibitting setting it on <file>, <group> and <unit>

You are right we do not want to constarin it on other nodes that do not affect the inheritance 

You can check the file on svn

no printout yet, I edited just the xml_lang.xml file

 

Cheers,

-yves

 

 

From:  [mailto:] On Behalf Of Dr. David Filip

Sent: Tuesday, January 21, 2014 5:00 AM
To: 
Subject: [xliff] xml:lang

 

Hello all, I promised I will be back with a proposal for xml:lang that we have so far neglected as the discussion concentrated on xml:space.

 

 

I believe that the following should be done

 

 

xml:lang defaults should be changed 

for source:

to value defined in srcLang on the xliff elemenet

 

for target:

 

 

Rationale:

Currently, people not defining xml:lang on source or target leave it undefined, which is clearly wrong

 

Adding a Constraint

 

xml:lang MUST NOT be set at core extension points.

 

Rationale:

Setting the value would conflict with srcLang and trgLang semantics

 

 

 

I am going to implement and print this before the meeting, please shout no later than in the meeting if you think this is wrong or you have a better solution

 

Cheers

dF

 

 

 

 

 

 

Dr. David Filip

=======================

LRC | CNGL | LT-Web | CSIS

University of Limerick, Ireland

telephone: +353-6120-2781

cellphone: +353-86-0222-158 

facsimile: +353-6120-2734

http://www.cngl.ie/profile/?i=452

mailto: 
Next in thread → Next in month →