2

Is there a way to change language for all text boxes in a Publisher 2013 document at once?

I have an existing file with a bunch of text boxes set to a wrong language, which is screwing up spell checking and hyphenation. I also don't know how to disable hyphenation, but I don't even know how to do it for a single text box.

So, what I do know is how to change language for a single text box, i.e.:

  1. Click on a single text box,
  2. Select all text using Ctrl+A,
  3. Review -> Language -> Set proofing language.

But since it's a large document, it's rather cumbersome, and a bit strange that it's not possible to at least select all boxes on a single page and change their properties. For example, if I select two or more text boxes, I am also unable to change their Font type or size, which is also something that is pretty easy to do in, say, Visio or Word.

Is there a way to do change properties of multiple Publisher elements at once?

vgru
  • 1,166

3 Answers3

2

I wrote a crude macro to do this:

Sub AllTextboxesLanguageToSpanish()

    Dim s As Shape
    Dim p As Page

    For Each p In ThisDocument.Pages

        For Each s In p.Shapes

        On Error Resume Next

            If s.TextFrame.HasText Then
                s.TextFrame.TextRange.LanguageID = 21514
            End If

        Next s

    Next p

End Sub

If you replace "21514" (Spanish (United States)) with the code for another language, you should be fine. Just run it from the VBA editor (Alt+F11).

0

Old question, but still relevant. As far as I have been able to work out this is not possible. As far as I can tell there are three independent language settings for Microsoft Publisher:

-The "Editing Language" (Options - Language - Choose Editing Languages)

-The language for each text box (Select the text box - Review - Language - Set Proofing Language)

-Some internal setting that determines the default proofing language for a text box. In my tests this is not impacted by changing the Editing Language. I have found no way to change it thus far.

Ultimately I have only been able to change language settings individually for each text-box. The "Editing Language" in the main options menu seems to have no impact on any files (old or new). As far as I can tell the only bit it does is confirm that the user has paid for the language packs.

Anon
  • 1
0

To disable the hyphenation in the single box, go to text box on the ribbon, and there should be an item for hyphenation. Uncheck the 'automatic hyphenation' box. To avoid hyphenation in any new document, go to Options, and there should be an option there somewhere.

A Lees
  • 1