Commit bb2dacd7 authored by Cristy's avatar Cristy

...

parent 532e87d9
......@@ -3071,6 +3071,7 @@ CONFIG_EXTRA_DIST = \
config/ImageMagick.rc \
config/ImageMagick.rdf.in \
config/lndir.sh \
config/locale.md \
config/locale.xml \
config/log.xml \
config/magic.xml \
......@@ -3079,7 +3080,6 @@ CONFIG_EXTRA_DIST = \
config/quantization-table.xml \
config/sRGB.icm \
config/thresholds.xml \
config/Translation.md \
config/type-apple.xml.in \
config/type-dejavu.xml.in \
config/type-ghostscript.xml.in \
......@@ -59,6 +59,7 @@ CONFIG_EXTRA_DIST = \
config/ImageMagick.rc \
config/ImageMagick.rdf.in \
config/lndir.sh \
config/locale.md \
config/locale.xml \
config/log.xml \
config/magic.xml \
......@@ -67,7 +68,6 @@ CONFIG_EXTRA_DIST = \
config/quantization-table.xml \
config/sRGB.icm \
config/thresholds.xml \
config/Translation.md \
config/type-apple.xml.in \
config/type-dejavu.xml.in \
config/type-ghostscript.xml.in \
......
Translation is fairly straight-forward. Copy `english.xml` to _locale_.xml. Change any messages from English to the target language. As an example:
```
<message name="UnableToOpenBlob">
unable to open image
</message>
```
becomes
```
<message name="UnableToOpenBlob">
impossible d'ouvrir l'image
</message>
```
in 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 your _locale_.xml file is referenced in the `locale.xml` configuration file.
The 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.
......@@ -4555,7 +4555,7 @@ MAGICK_PATCHLEVEL_VERSION=13
MAGICK_VERSION=7.0.8-13
MAGICK_GIT_REVISION=14852:d8b716c07:20180929
MAGICK_GIT_REVISION=14854:532e87d98:20180929
# Substitute library versioning
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment