Another approach to my previous unanswered question.

<customlanguagefilelist> <language> de <encoding>utf-8</encoding> <file>../Classes/util/Dialog_de.properties</file> </language>

How can I can only add a language to an installer if the file exists? I tried this code but it gives me a build time error:

<customlanguagefilelist> <actiondefinition> <language> en <encoding>utf-8</encoding> <file>../Classes/util/Dialog_en.properties</file> </language> <rulelist> <fileexists> <file>../Classes/util/Dialog_en.properties</file> </fileexists> </rulelist>

Thanks!

asked 26 Jan, 16:24

surferwill's gravatar image

surferwill
6116
accept rate: 0%

edited 26 Jan, 17:00


link

answered 31 Jan, 12:20

Michiel's gravatar image

Michiel ♦
50614
accept rate: 19%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×27
×5

Asked: 26 Jan, 16:24

Seen: 121 times

Last updated: 31 Jan, 12:20