![]() |
|
#1
|
|||
|
|||
![]()
Yes, you, I and, to judge from forum posts, 99% of other Word users turn the automatic language detection off because of the annoyance it causes during normal text editing.
That makes it doubly annoying that the functionality cannot be accessed for one of the few circumstances in it would be genuinely useful! I have a large document with alternating German and Polish sentences, and I need to hide the Polish parts (so that they are ignored by translation software). So it seems that the only way to do this is to manually identify and mark each Polish sentence even though, theoretically, Word has the functionality to detect language! |
#2
|
|||
|
|||
![]()
Hi,
as the whole document is set to German languageID, you can use the spellchecker to have all 'incorrect' words/sentences/passages marked. Than you can select theses passges and set the language to Polish. IMHO that seems to be the fastest way to do that manually. NP |
#3
|
|||
|
|||
![]()
Well, yes, that was what I was hoping to avoid. There are hundreds of alternating German / Polish sentences in the document, and it'll be a right pain to go through and mark them all manually. What a shame that Microsoft's automatic language detection can't be used for this purpose!
|
#4
|
|||
|
|||
![]()
Stupid work, I see ...
Maybe there is a VBA based solution: Looping through all paragraphs and counting misspelled words. Whenever - lets say - five misspelled words are found at the beginning of a paragraph the language ID will be set to Polish. NP |
#5
|
|||
|
|||
![]()
Yes, that's an idea. Or maybe it's possible to access the language detection functionality from a VBA macro. Thanks!
|
#6
|
|||
|
|||
![]() |
#7
|
|||
|
|||
![]()
Another possibility:
Search for typical Polish words (VBA). Set range on paragraph where .Found = True, set languageID to Polish, continue search. That's not too tricky - if you know typical Polish words ![]() Cheers NP |
![]() |
Tags |
indentify, languages, word 2010 |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
VBA to identify how Word was invoked | Sorcerer13 | Word VBA | 7 | 04-24-2014 11:15 AM |
How to identify whether Word 2007 was used to create a document saved as Word 2003 | noviceatwork | Word | 0 | 03-08-2012 06:40 AM |
![]() |
Mkn | Word | 5 | 05-31-2010 03:30 AM |
How do I paste other Languages in Word documents | Bules | Word | 0 | 04-19-2010 10:24 AM |
C# API to identify the uncommitted changes in Excel and Word document? | althafuddeen | Excel | 0 | 04-06-2010 07:40 AM |