Re: [dev] Multilanguage documents

2007-11-12 Thread Rony G. Flatscher


Christian Lohmaier wrote:
 Hi *,

 On Nov 11, 2007 3:54 AM, jonathon [EMAIL PROTECTED] wrote:
   
 Rony wrote:

 
 FWIW: MS Word has been having that ability for quite a few versions now.
 There one would use the Language tab on styles to define what language
 it is used for (on that dialog one is able to turn off grammar- and 
 spell-checking).
   
 How is that different from implementing language specific styles in OOo?
 

 Please don't confuse KAMI's feature-request with the stuff described
 in this excerpt.
   
Did not realize that!

 Of course you can already assign different languages to different parts of 
 your document
 and that language will be used for spell-checking, hyphenation and will 
 affect things like
 autocorrect/autoformat (replacement of typographic quotes for example)
   
Tsk, thank you for pointing that out. Being somewhat accustomed to MS
Word, I looked into the wrong area in OOo to find that (just found it to
be a drop-down field on the Character- resp. Font-dialog)!

 - if you choose the language none, no spell-checking, hyphenation is 
 performed.
   
Well, that would be *quite* different from being able to assign a
specific language (important, to be able to identify/extract text in a
certain language) and determine that that should not be spell-checked,
hyphenized or Grammar checked.

---rony




Re: [dev] Multilanguage documents

2007-11-11 Thread Christian Lohmaier
Hi *,

On Nov 11, 2007 3:54 AM, jonathon [EMAIL PROTECTED] wrote:
 Rony wrote:

  FWIW: MS Word has been having that ability for quite a few versions now.
  There one would use the Language tab on styles to define what language
  it is used for (on that dialog one is able to turn off grammar- and 
  spell-checking).

 How is that different from implementing language specific styles in OOo?

Please don't confuse KAMI's feature-request with the stuff described
in this excerpt.
Of course you can already assign different languages to different
parts of your document
and that language will be used for spell-checking, hyphenation and
will affect things like
autocorrect/autoformat (replacement of typographic quotes for example)
- if you choose
the language none, no spell-checking, hyphenation is performed.

But this is something fundamentally different from displaying
different content depending
on what language the user uses. A french version of OpenOffice.org
would display something
different than an english version.

This could be simulated by using different sections that are hidden or
shown depending on
the language the user uses, but this would be a macro-based solution
(either by letting the
user choose, or by assigning the macro to the open document action)
- but this of course
requires the user to have macros enabled

All in all, I don't quite see the usefulness of a feature that
displays different content depending
on the language of the surrounding application, but maybe there is a
need I just don't see.

Also I don't see why a style should be language-dependent, but chances
are good, that I
just don't understand what is meant with that. (As I understand it, it
would be the opposite
compared to how OOo now works. The style determines the language that
is assigned to
the text and not the language of the text determines how it is formatted)

ciao
Christian

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Multilanguage documents

2007-11-10 Thread jonathon
Rony wrote:

 FWIW: MS Word has been having that ability for quite a few versions now.
 There one would use the Language tab on styles to define what language it 
 is used for (on that dialog one is able to turn off grammar- and 
 spell-checking).

How is that different from implementing language specific styles in OOo?

xan

jonathon

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [dev] Multilanguage documents

2007-11-09 Thread Mathias Bauer
KAMI wrote:

 KAMI írta:
 Hi!

 Is it possible to create multilanguage documents with OOo or the ODF 
 itself make it possioble. I thinking about a document has several 
 languages in one file. The apperance of documents depend on the 
 language of UI for example. Also the meta informations such as author, 
 title are depending on UI language. Is it possible somehow? ODF 
 standard makes possibility of multi lang doc this way?


 KAMI

 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]


 Any idea here?

Such thing does not exist and this feature is not implemented. ODF does
not define any multi language support of that kind.

In case you wanted to implement language dependent metadata:
(basically ;-) ) no problem using custom properties and an own UI to
treat them (extension).

Treating language dependent text content is harder. In Writer it could
be done on section or paragraph level by writing an extension that makes
sections or paragraphs visible or invisible depending on the selected
language. Besides that there is only hidden text to do some comparable
on lower level but this is restricted to simple text as hidden text
is a text field that does not allow to have different attributes applied
to text in it.

Ciao,
Mathias

-- 
Mathias Bauer (mba) - Project Lead OpenOffice.org Writer
OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
Please don't reply to [EMAIL PROTECTED].
I use it for the OOo lists and only rarely read other mails sent to it.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[dev] Multilanguage documents

2007-10-26 Thread KAMI

Hi!

Is it possible to create multilanguage documents with OOo or the ODF 
itself make it possioble. I thinking about a document has several 
languages in one file. The apperance of documents depend on the language 
of UI for example. Also the meta informations such as author, title are 
depending on UI language. Is it possible somehow? ODF standard makes 
possibility of multi lang doc this way?



KAMI

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]