• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1Translation is fairly straight-forward.  Copy `english.xml` to _locale_.xml.  Change any messages from English to the target language.  As an example:
2
3```
4<message name="UnableToOpenBlob">
5  unable to open image
6</message>
7```
8becomes
9```
10<message name="UnableToOpenBlob">
11  impossible d'ouvrir l'image
12</message>
13```
14in French.  You then need to copy the _locale_.xml to the same location as `english.xml`, e.g. `/usr/local/ImageMagick-7/_locale_.xml`. Make sure your _locale_.xml file is referenced in the `locale.xml` configuration file.
15
16The final step is to contribute _locale_.xml to ImageMagick so we can include it in a future release of ImageMagick so the community can benefit from the translation.
17