Script to change language for all  style lables in one click

Hello,
We are a dutch pre press company and often we get (English or French or German) books that are translated into Dutch. And often the copublisher has created documents with 80+ stylelables. It is quite a pain to change all stylelables one by one into Dutch (for dictionary and correct hypenation). Quark has an option to save a document as multi language or singe language. With the last option the programme asks for the desired language and all stylelables are immediately changed to (in my case) Dutch. That works great. Maybe someone out there has a script to achive the same in Indesign (5 or 5.5?) Thanks in advance!
kind regards
Peter

Hi Selva,
I have been trying for a long time to change the paragraph composer of all paragraph styles in a document, say from Adobe Paragraph composer to Adobe single-line composer. Nothing goes. Do you know how I can do that? I work with the french version and the composers are named: Compositeur de paragraphe Adobe and Compositeur ligne simple Adobe. The following works for a paragraph style if i refer explicitely to its name. But then, I don't gain much. So I want to find a way to change ALL paragraph styles at once. Your help would be great.
var myDoc = app.activeDocument;
var myPstyle = myDoc.paragraphStyles.item("Indents");
myPstyle.composer = "Compositeur ligne simple Adobe";
Thanks in advance.
Diane

Similar Messages

  • Script to change language to all Paragraph Styles?

    Is there a script out there that will change the language of all styles in a document? I frequently need to take US English files with multiple folders of styles and convert them for Canada English and French. Find/replace language does well enough for one-off use but I would like to clean up file as I go for future use without going through each style one and a time.
    -Thanks!

    If you are using OSX this AppleScript will change all the style definitions and text for the active document to French. Just edit the first line for the desired language so Canadian English would be:  set lang to "English: Canadian"
    set lang to "French"
    tell application "Adobe InDesign CS6"
        set pstyles to all paragraph styles of active document
        repeat with i from 1 to number of items in pstyles
            try
                set applied language of item i of pstyles to lang
            end try
        end repeat
        set cstyles to all character styles of active document
        repeat with i from 1 to number of items in cstyles
            try
                set applied language of item i of cstyles to lang
            end try
        end repeat
        try
            set applied language of every paragraph of every story of active document to lang
        end try
    end tell

  • [JS, CS3] a script to change language in all paragraph styles

    Hi,
    I made a script to change the language in all paragraph styles to "French", but when I run it I get the error: "Invalid request on root style". Could you please tell me what am I missing?
    myDoc = app.activeDocument;
    myStyles = myDoc.paragraphStyles;
    for (i = 0; i < myStyles.length; i++)
    myStyle = myStyles[i];
    myStyle.appliedLanguage = "French";

    Thanks a lot!
    The problem is solved
    Ola

  • Changing the default keyboard language for all users via command line

    I have about 250 computers, that I set the wrong default language on.
    I am hoping someone here can help me. I have 3 keyboard languages installed in my labs,
    En-English (United States)
    Fr-French (Canada)
    En-English (Canada)
    I'd like to make the Fr-French (Canada) the default keyboard language for all users that login I have tried the following xml but it's not working. I do not see the problem any help would be appreciated.
    I tried to run it by doing this
    control intl.cpl,, /f:"FR-DefaultKeyboard.xml"
    The following code below is called FR-DefaultKeyboard.xml file.
    <gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend">
    <!--User List-->
    <gs:UserList>
    <gs:User UserID="Current"/>
    </gs:UserList>
    <!--User Locale-->
    <gs:UserLocale>
    <gs:Locale Name="FR-CA" SetAsCurrent="true"/>
    </gs:UserLocale>
    </gs:GlobalizationServices>

    <gs:GlobalizationServices xmlns:gs="urn:longhornGlobalizationUnattend">
    <gs:UserList>
    <gs:User UserID="Current" CopySettingsToDefaultUserAcct="true" CopySettingsToSystemAcct="true"/>
    </gs:UserList>
    <gs:InputPreferences>
    <!--English US EN-->
    <gs:InputLanguageID Action="add" ID="0409:00000409" Default="false"/>
    <!--French CA CA FR-->
    <gs:InputLanguageID Action="add" ID="0c0c:00000c0c" Default="true"/>
    <!--English CA EN-->
    <gs:InputLanguageID Action="add" ID="1009:00001009" Default="false"/>
    </gs:InputPreferences>
    </gs:GlobalizationServices>
    This worked, thank you

  • Script to change language

    I need to find all cyrillic characters in a file and set their language to Russian. CS3 cannot find them with grep, so I reckon on doing them one at a time, can anyone help me with an Applescript line which would find X and set its language to Russian? The cyrillic characters in the font in question (Baskerville 10 by Storm) are unicode 0401 through 0491, I'm not sure if the script line needs to be of text or glyph type...
    Thanks!
    Andrew Brown
    (PS. I use the sample find-replace script a lot, but don't know how to adapt it to this purpose.)

    That works perfectly, thanks Peter ! -- AB
    On 17 Feb 2008, at 18:16, Peter Kahrel wrote:
    > A new message was posted by Peter Kahrel in
    >
    > InDesign Scripting --
    > Script to change language
    >
    > CS3 cannot find them with grep
    >
    > Try this: search for [\x{0401}-\x{0491}] and set Rusian in the
    > Change Format pane. That should doe what you want.

  • Problems realted to changing the language for non-Unicode programs from one into anther.

    Hi,
    Hi everyone!
    Product Name: HP Pavilion dv6-6093ex
    Product Number : LM610EA#A2N.
    My Windows 7(464Bit) Ultimate,  and its base language, and display language is English.
    The Languages(English, French and Arabic) built-in (came re-downloaded and re-installed by the person who made the Windows disc installation). Thus, while installing Windows 7, those three lanauge listed for me to choose one of them to be the base language
    and display language, I have chosen 'English'. In the End of installation, there are three pre-packaged languages(English and French and Arabic) can be used as a display language.
    I would like anyone kindly to confirm for me why I have been facing these problems when changing  language for non-Unicode programs from English into Arabic.
    First: After I have installed the  AMD High-Definition Graphics Driver (sp55092) 8.882.2.3000 on my laptop. The contents of the of Intel Graphics and Media Control Panel are partially shown in Arabic while language for non-Unicode programs
    is Arabic, however, they are completely shown in English while language for non-Unicode programs is English.
    A: I found that contents of the of Intel Graphics and Media Control Panel are partially shown in Arabic (second screen shot below, however,
    when click on any options, for example 'Graphics properties' shown in Arabic in, the second window is shown in English) while language for non-Unicode programs is
    Arabic, and it doesn't matter what format or location is.
    B- when I changed language for non-Unicode programs into 
    English.
    I found that contents of the Intel Graphics and Media Control Panel are completely shown in English .
    Second:
    A- Only All Arabic contents will be displayed encryptely while language for non-Unicode programs is English
    B-  All the Arabic contents are displayed properly   while language for non-Unicode programs is  Arabic.
    Third: an error extracting drivers and software downloaded from official HP website while language for non-Unicode programs is English.
    A-  I noticed an error extracting all kinds of comprised files(drivers and software) downloaded from HP website while language for non-Unicode programs is English and whatever location and format are:
    B- However  while language for non-Unicode programs is Arabic, there is no error extracting files.
    In conclusion, Is it normal
    for all of you the contents of the of Intel Graphics and Media Control Panel are partially shown in your native while  language  used
    for non-Unicode programs is your native lanague, however, they are completely shown in English while language for non-Unicode programs is English?.  IF so I would be saying that if I have wanted the  contents of documents written in my language
    Arabic to be shown properly, then then I
    must let the language for non-Unicode programs be Arabic.
    Is this happens with you as well?
    Also, if I need extracting all kinds of comprised files(drivers and software) downloaded from HP website, then language for non-Unicode programs
    must be in my Arabic lanague English and whatever location and format are.
    Is this happened with you as well?
    I would highly appreciate any clarification from you.
    A man should convert his anger and sadness into strength to continue living in this life.

    Hi,
    I am confused about your issue.
    when you changed language for non-Unicode programs into  English, it show English.
    while language for non-Unicode programs is Arabic, it show Arabic, If it's none-Unicode.
    This is correct. Why you think it's an issue?
    About your second scenario description, I was not clear what you said. Could you give us a explanation?
    Note: System display language is not the un-Unicode program language.
    You can just choose one language to display the system at same time.
    This article might be helpful to you:
    Install or change a display language
    http://windows.microsoft.com/en-in/windows7/install-or-change-a-display-language
    Change the system locale
    http://windows.microsoft.com/en-in/windows/change-system-locale#1TC=windows-7
    Karen Hu
    TechNet Community Support

  • Acrobat Reader 11 MUI : Impossible to change Language for Final user.

    Hello,
    I need to deploy AdbeReader on several PC.
    On my enterprise, we have several language (english, french, deutch...)
    I have configure MSI package with Adbe Customization Wizard. But on this tool we cannot choose "Set the language to the OS language..." By defaut, I choose English.
    I have read on Adobe Reader document that by default, for MUI, we need to put 1 to this reg key :
    HKLM\SOFTWARE\Adobe\(product)\(version)\Language\UseMUI\
    In my case, it's ok.
    But, when I install Adobe Reader with my mst file, application stay in english (even if I use a french computer).
    And, if I try to change manually the language it does'nt works. Choose at application startup does'nt too. I have never the popup to choose the language.
    Someone can help me ?
    Many thanks !

    Adobe Properties — Enterprise Administration Guide
    Language    11 & later    SUPPRESSLANGSELECTION    MUI installers only. The default of 1 does the following:
    Sets the language to the OS language for all users.
    Disables the language selection dialog on application startup for any user.
    Sets HKLM\SOFTWARE\Adobe\(product)\(version)\Language\UseMUI\bUserMUI to 1
    This is particularly useful for multiuser installations where the language selection dialog would normally appear if a different user logs in, Citrix installations, and so on.
    A value of 0 results in the language selection dialog appearing at first launch for every newly logged in user of the machine. For Acrobat this property is not applicable. When Acrobat is installed with MUL serial number and LANG_LIST=ALL, the launch language would be the same as OS language unless a language transform is also applied.

  • Changing language for a particular user

    Hi
    How to change language for a particular user in backend system ?
    Actually i have to get logon language en but automatically it is coming "DE". That is the reason even single sign-on is not wrking from portal for particular user all other users are getting "EN" by default.
    Please give the solution for this issue.
    it is very urgent.
    Thanks and Regards,
    Phanikumar.

    You can set the logon language in System>user priofile>own data

  • Wlst script to change values for Logging.

    Hi,
    i am trying to write a wlst script to change attributes for the following.( i am new to wlst scripting)
    For all servers in a domain,
    Logging --> General --> Check Limit number of retained files
    --> Files to retain to different number.
    --> Log file Severity Level
    --> Standard out Severity Level
    --> Demain log broadcaster Severity level
    --> Memory Buffer Severity Level
    Logging --> HTTP --> Check Limit number of retained files
    --> Files to retain to different number.
    I was able to figure out the path for some of the attributes in Logging --> General.
    wls:/wl9xdomain/serverConfig/Servers/AdminServer/Log/AdminServer>
    wls:/wl9xdomain/serverConfig/Servers/AdminServer/Log/ManagedServer1>
    Can you help in finding the paths for above attributes.
    And this is the sample script i wrote, and succeded in changing "Files to retain to different number" in Logging --> General.
    connect('weblogic','weblogic','t3://localhost:7001')
    edit()
    startEdit()
    cd('/Servers/AdminServer/Log/AdminServer')
    set('FileCount',10)
    validate()
    save()
    activate()
    disconnect()
    exit()
    Thanks,
    Krishna.
    Edited by: user2656687 on Apr 15, 2009 4:46 PM

    Thanks for the response. I was able to figure out that access.log file attributes are in /Servers/AdminServer/WebServer/AdminServer/WebServerLog/AdminServer.
    And now i trying change script to apply for all the servers.
    when i use for loop it is failing. any thougts on it. may i know the syntax in this case..
    connect('weblogic','weblogic','t3://localhost:7001')
    edit()
    startEdit()
    cd('/Servers/AdminServer/Log/AdminServer')
    cmo.setNumberOfFilesLimited(true)
    cmo.setFileCount(100)
    cmo.setDomainLogBroadcastSeverity('Warning')
    cmo.setMemoryBufferSeverity('Warning')
    cmo.setLogFileSeverity('Warning')
    cmo.setStdoutSeverity('Warning')
    cd('/Servers/AdminServer/WebServer/AdminServer/WebServerLog/AdminServer')
    cmo.setNumberOfFilesLimited(true)
    cmo.setFileCount(100)
    save()
    activate()
    Thanks,
    Krishna.

  • How to change language in all Skype email communic...

    Hi Skype,
    I live in Hong Kong because my job brought me here. I don't speak Chinese. I don't read Chinese. I don't even understand Chinese. When I log on to your desktop client, everything appears in English. When I log on to skype.com, everything appears in English. So please tell me why do you have to send me offers, news, surveys, and everything else in Chinese. I don't even know if you are sending the stuff to me in traditional or simplified Chinese and I don't want to copy and paste your email into GOOGLE Translate to understand what you are promoting. I went through account settings various times but I can't find any setting to change default language for all email communications. 
    I represent not only myself but a lot of friends I have made here in Hong Kong who literally go through the same pain. I have intentionally subscribed to Skype news and communications. But I am about receiving 1 or 2 more emails in an alient language away before I permanently block all Skype communications.  And permanently blocking would be a lose-lose scenario for both of us because I really like Skype. 
    Anyways, the main point from this message is how do I change the language of all your email communications?

    to request to change the language you are receiving to the one you prefer, you need to contact customer service.
    https://support.skype.com/en/faq/FA1170/how-can-i-contact-skype-customer-service
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES

  • Shame to remove Get Info option to change language for individual application!

    Its a shame for Apple to remove the Get Info panel option to change language for individual application! For these days I used Leopard, where I had this option, now I bought a brand new mac, for a bunch of money, with Lion, and this option had disappeared. What's that? Apple is working on making more complicated the life of their users?

    Thanks for your tip, but languageswitcher not set the language permanently just for the applications started from that application. Very inelegant and windows like way.
    I used the terminal to set the defaults for individual application, but that is step back to the age of command line.
    I spent with this problem 1 hour instead of 1 minutes.  Big step back.

  • Hide views in MM01 for all material type in one time

    Hi,
    I have a requirement to hide the views for all material type at at time.
    i tried with OMS2 , it is allowing me to do for one matrial type.
    could any one tell me how to hide the views for all material type in one short.
    Thanks in adv..

    Hi Rakesh,
    Up to my knowledge it is not possible to do view setting for all material type in one shot simply because it is material type dependent.
    If trying to change fields in material master then use OMS9. This also material type linked to field reference group. And we can change the setting of field selection group in one shot. This will affect the material types linked to it.
    Hope it helps
    sBk

  • When i hover on stuff with my mouse, i have to double click it for it to actually work, one click to hover and another to click on the link... can someone help me ?

    When i hover on stuff with my mouse, i have to double click it for it to actually work, one click to hover and another to click on the link... can someone help me ?

    What system are you using?

  • Changing Default language for all users

    Hi ,
         We have upgraded EP 6.0 to EP 7.0  . After the upgrade when users are logging into the portal default langauge is being set from the browser .
         I want to set the default langauge to  EN for all the users. My prtDefault.properties file already contains following entry :
    This is the default language to be used when none is specified
    request.defaultlanguage=en
    request.defaultcountry=us
    Do I also need to ADD
    request.mandatorylanguage=en
    request.mandatorycountry=us
    properties in this file ? Please suggest.
    Regards,
    Ganesh

    Hi Ganesh,
    Can u pl post how you solved this.
    Regards,
    Reema.

  • Changing English language for all users

    Hi experts
    I want to set the English langauge to Spanish for all the users, can someone tell me how to do please?
    thanks!!  

    Hi Biroj
    thank you very much for your answer, I solved the problem and I found the file with your help.
    thanks!
    Edited by: lizcam on Aug 24, 2010 11:05 AM
    Edited by: lizcam on Aug 24, 2010 11:06 AM

Maybe you are looking for