Package net.i2p.util

Class TranslateReader

All Implemented Interfaces:
Closeable, AutoCloseable, Readable

public class TranslateReader
extends FilterReader
Translate. Strings are tagged with _("translateme") or _("translate {0} me", "foo") Max two parameters. String and parameters must be double-quoted (no ngettext, no tagged parameters). Escape quotes inside quote with \". Commas and spaces between args are optional. Entire tag (from '_' to ')') must be on one line. Multiple tags allowed on one line. Also will extract strings to a dummy java file for postprocessing by xgettext - see main().
Since:
0.9.8