Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 179887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T14:29:13+00:00 2026-05-11T14:29:13+00:00

I have a multilanguage website and need automate the process of updating textlayers in

  • 0

I have a multilanguage website and need automate the process of updating textlayers in psd-files from a csv-source.

I know that there might be glitches in the psp because of changed widths, but anyway it would help a lot to have the text inside the documents.

What are my options?

EDIT:

Murmelschlurmel has a working solution. Here is the link to the Adobe documentation.

http://livedocs.adobe.com/en_US/Photoshop/10.0/help.html?content=WSfd1234e1c4b69f30ea53e41001031ab64-740d.html

The format of the csv-file is not so nice: you need a column for each variable. I would expect a row for each variable.

It works with Umlaut (ä, ö etc)

EDIT 1:

Another solution is to use com to automate Photoshop. Thats nice if you have a couple of templates (buttons) that need changed text. Here is my script in python that might get you startet.

You need to have an excel file with columns: TemplateFileName, TargetFileName, TargetFormat, Text (ie template.psd, button1 , gif , NiceButton) . The first row of the sheet is not used. The psp template should only have 1 textlayer and can not have layergroups.

import win32com.client import xlrd  spreadsheet = xlrd.open_workbook('text_buttons.xls') sheet = spreadsheet.sheet_by_index(0)  psApp = win32com.client.Dispatch('Photoshop.Application')   jpgSaveOptions = win32com.client.Dispatch('Photoshop.JPEGSaveOptions')   jpgSaveOptions.EmbedColorProfile = True jpgSaveOptions.FormatOptions = 1 jpgSaveOptions.Matte = 1 jpgSaveOptions.Quality = 1  gifSaveOptions = win32com.client.Dispatch('Photoshop.GIFSaveOptions')    for rowIndex in range(sheet.nrows):     if(rowIndex > 0):         template =  sheet.row(rowIndex)[0].value         targetFile = sheet.row(rowIndex)[1].value         targetFileFormat = sheet.row(rowIndex)[2].value         textTranslated = sheet.row(rowIndex)[3].value         psApp.Open(r'D:\Design\Produktion\%s' % template )          doc = psApp.Application.ActiveDocument          for layer in doc.Layers:               if (layer.Kind == 2):                 layer.TextItem.Contents = textTranslated                 if(targetFileFormat == 'gif'):                     doc.SaveAs(r'D:\Design\Produktion\de\%s' % targetFile, gifSaveOptions,  True, 2)                 if(targetFileFormat == 'jpg'):                     doc.SaveAs(r'D:\Design\Produktion\de\%s' % targetFile, jpgSaveOptions,  True, 2) 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-11T14:29:13+00:00Added an answer on May 11, 2026 at 2:29 pm

    You can use ‘Data Driven Design’ to do this. There is also a concept of data driven design in computer science, but as far as I can see this is not not related to the use of the word in Photoshop.

    Here is how to proceed:

    Load your image in Photoshop and define your variables with Image > Variable > Define.

    Then convert your csv to a format Photoshop can read. I had the best experiences with tab delimted text.

    Finally load the text file in Photoshop with Images > Variables > Data Set and let Photoshop save all iterations.

    When I tried this first, I found that the Photoshop help file didn’t provide enough details. I searched the Internet for photoshop ‘data set’ and found some good tutorials, e.g. this one from digitaltutors.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 78k
  • Answers 78k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer The documentation for libxml's start element callback states that the… May 11, 2026 at 3:39 pm
  • added an answer Making the primary key both CountryId and Name does not… May 11, 2026 at 3:39 pm
  • added an answer I propose the following: Drop the word 'Control' from View/ViewModel… May 11, 2026 at 3:39 pm

Related Questions

How should I store (and present) the text on a website intended for worldwide
We are planning on adding multi-language support for our ASP.NET Website. I understand the
I have this content structure for a multi language site. Content Danish Forside Om
I have an existing ASP.NET website which I would like to painlessly add CMS

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.