blob: ddb10862c4db9f9135f60eb81f9f3d8b0b95823c [file] [log] [blame]
cristy3ed852e2009-09-05 21:47:34 +00001This directory contains the ImageMagick configure files. Currently this
2document only gives basic instructions for adding another locale to the
3messaging subsystem: For now the only locale supported is C. To translate to
4another locale, do the following. Assume the new locale is klingon. Type
5
6 cp english.xml klingon.xml
7
8Edit klingon.xml and translate all the messages. Do not translate
9the tags:
10
11 <Message name="ThisIsATag">
12 this is a message
13 </Message>
14
15Save the messages to the ImageMagick install directory (the directory
16where you find the files colors.xml and delegates.xml). Edit locale.xml
17in the ImageMagick install directory and add the locale alias to the
18file:
19
20 <include locale="kl_gn.IQR-6668-1" file="klingon.xml"/>
21
22To test the message translataions, type
23
24 convert logo: /image.jpg
25
26Assuming the root partition is not writable by you, you should get
27the message:
28
29 convert: Unable to open file (/image.jpg) [Permission denied].
30
31except in the klingon language.
32
33The last step is the most important. E-mail klingon.xml to
34magick-developers@imagemagick.org with a note that you are contributing your
35message translation to the ImageMagick project and that it can be redistributed
36under the ImageMagick copyright.