On 08/03/2016 09:46 AM, Leif Halvard Silli wrote:
It would have been a massive help if we were able to, quickly, see what
language a certain fragment of the text is (defined to be). Today, this
is typically a tedious multistep process:

 1. First you must activate the attribute panel.
 2. Then you must navigate to the (xml:)lang attribute.
 3. Then you must check whether that attribute present or not.
 4. If it present - then, simply check that the language tag is correct.
 5. But if the (xml:)lang attribute is not present (and usually this is
    exactly the case), then you must in principle go through each and
    every parent element to check whether any of them contains a
    (xml:)lang attribute.

There is very quick way to check this.

The tooltip (AKA "ballon help") displayed by the node path bar shows all the attributes of the element over which the mouse pointer is hovering. This includes the xml:lang attribute.

(It's also a quick way to see the ID of an element.)




Word processors sometimes uses e.g. flags to symbolise the language of
the text (fragment) and they also allow you to change the language by
clicking on that flag. May be XMLmind could do something similar?




--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
http://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to