aboutsummaryrefslogtreecommitdiff
path: root/contrib/extract_translations/README
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/extract_translations/README')
-rw-r--r--contrib/extract_translations/README21
1 files changed, 21 insertions, 0 deletions
diff --git a/contrib/extract_translations/README b/contrib/extract_translations/README
new file mode 100644
index 000000000..e96cfb8cf
--- /dev/null
+++ b/contrib/extract_translations/README
@@ -0,0 +1,21 @@
+extract_translations - auxiliary tool that extracts lines to be translated
+from ejabberd source tree.
+
+Building:
+ erlc extract_translations.erl
+
+Invoking 1:
+ erl -noinput -s extract_translations -extra dirname message_file
+
+ where dirname is src dir of ejabberd source tree, message_file is a file
+ with translated messages (src/msgs/*.msg).
+
+ Result is a list of messages from source files which aren't contained in
+ message file.
+
+Invoking 2:
+ erl -noinput -s extract_translations -extra -unused dirname message_file
+
+ Result is a list of messages from message file which aren't in source
+ files anymore.
+