Results 1 to 6 of 6
  1. #1
    Silver Lounger
    Join Date
    Jul 2001
    Location
    Ottawa, Ontario, Canada
    Posts
    1,609
    Thanks
    0
    Thanked 1 Time in 1 Post

    Language (2000/SP3)

    Good evening all
    My understanding of formatting and language is that
    1. <LI>attributes assigned to the character take precedence over
      <LI>attributes assigned to the paragraph, which take precedence over
      <LI>attributes assigned to the section, which take precedence over
      <LI>attributes assigned to the document.
    We have a number of documents that were generated by cutting and pasting bits and pieces out of other documents that have a variety of language settings; and we want to set the document to a single language--occasionally English U.S., occasionally English Canadian; and occasionally English U.K.
    We can achieve the desired effect by selecting the complete document then setting the language. However, I'm concerned that in using this approach, the language attributes are unnecessarily attached to each character in the document instead of the just the last carriage return, as identified in 4 above.
    Is there a more efficient approach to handling the mixed language problem; or are my concerns unfounded?
    Regards
    Don

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Language (2000/SP3)

    Not all attributes exist at every level of the hierarchy you are describing. For example, the left indent of a paragraph is either part of a style or directly applied to a paragraph, and does not differ by section.

    The language attribute, similarly is a property of a style and can be overridden by direct formatting. If your style is set to the "correct" language, then, you actually are removing wasteful and unnecessary direct formatting by forcing the language setting back to that in the style. At least, that's one way to look at it. <img src=/S/grin.gif border=0 alt=grin width=15 height=15> You can try it and come to your own conclusion using the "What's This" (Shift+F1) tool on your paragraphs before and after applying English (U.S.) to text otherwise styled with another language ID.

  3. #3
    Uranium Lounger
    Join Date
    Dec 2000
    Location
    Los Angeles Area, California, USA
    Posts
    7,453
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Language (2000/SP3)

    Hi Don:
    If you have pasted text with not only multiple language, but also other formatting, then it's difficult to just change the paragraph or character style to apply only another language. i.e. if you have bold, underline, etc., then changing the style will remove these (or apply them to the entire document). Therefore, I think the most practical solution is to do what you're doing, applying direct formatting (language) to the entire document.

    Klaus Linke did a test that he reported some time ago where he found that document size (& therefore complexity) seemed to be the same whether you applied a style or direct formatting, but I can't find the post right now.

  4. #4
    Silver Lounger
    Join Date
    Jul 2001
    Location
    Ottawa, Ontario, Canada
    Posts
    1,609
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Language (2000/SP3)

    Hi Jefferson
    It's always so simple when you start using the right tools. Thanks for the Shift F1 reminder.
    If you select all and then apply a language other than that defined in the template, the language is applied as direct formatting. If however you choose the same language as the template, all direct language formatting disappears.
    I've not yet played around with different styles using diffeerent languages in the template (why would anyone do that?), but this seems to be the way it works with a template set to a single language.
    Regards
    Don

  5. #5
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Language (2000/SP3)

    Is there a place to set a template to a single language? I still think of it as part of the Normal style (and other styles), and the behavior you describe is similar to applying various types of underlining to text in that style: it is direct formatting unless it is identical to the underlying style.

  6. #6
    Silver Lounger
    Join Date
    Jul 2001
    Location
    Ottawa, Ontario, Canada
    Posts
    1,609
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Language (2000/SP3)

    Hi Jefferson
    The best understanding that I can come to is that the paragraph language is initially determined by the style upon which the style-in-question is based. Consequently, if no one has intervened by setting up a chain of styles, and then changing the language of an intermediate style; The Normal style sets the language for the entire document.
    Apologies for the run on sentence.
    Regards
    Don

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •