NAME

import-texts - Import texts back to the module


SYNOPSIS

import-texts [--help|-h] [--version|-V] [--verbose|-v] [--config config-file] [--output|-o outputmodule.mod] [--texts|-t textfile.txt] [--language|-l language-name] [--gender|-g gender] [--languagecode|-L language-code-number] filename ...

import-texts --help


DESCRIPTION

import-texts reads in the text file generated by export-texts and imports those texts back to the module. If --output option is given and module is in module mode, then output is written to that file. If input is directory mode, then --output option is ignored and files are modified inplace. If no --texts option is given then file is read from the stdin.


OPTIONS

--help -h
Prints out the usage information.

--version -V
Prints out the version information.

--verbose -v
Enables the verbose prints. This option can be given multiple times, and each time it enables more verbose prints.

--language -l language-name
Language name of the language to where to import the text. Can either be number or strings like 'English', 'French' etc.

--gender -g gender
Gender where to import text. Can either be number or ``Male'', or ``Female''.

--languagecode -L language-code-number
Numeric code of the language where to import texts.

--config config-file
All options given by the command line can also be given in the configuration file. This option is used to read another configuration file in addition to the default configuration file.

--output -o output-mod-file
If input file was given in mod mode then write the output to this mod file. If input was directory mode or individual files, then ignore this option.

--texts -t input-txt-file
Text input file to be imported to the module. This is normally generated by export-texts program and then edited. If this option is not given then defaults to stdin.


EXAMPLES

    import-texts -t file.txt -o newmod.mod oldmod.mod
    import-texts moddirectory < texts.txt


FILES

~/.importtextsrc
Default configuration file.


SEE ALSO

export-texts(1), gffprint(1), ErfRead(3), ErfWrite(3), Gffwrite(3), Gff(3), and GffRead(3).


AUTHOR

Tero Kivinen <kivinen@iki.fi>.


HISTORY

This program was created to help Qk to make translations of modules to different languages.