public class PoSynchronizerImpl extends Object implements PoSynchronizer
PoSynchronizer
contract based on system calls
to either the 'msgmerge' or the 'msginit' commands (both part of the GNU
gettext package).Constructor and Description |
---|
PoSynchronizerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
synchronizePo(File potDirectory,
File translationDirectory,
Locale translationLocale,
Options options)
Perform the synchronization on the the PO files.
|
public void synchronizePo(File potDirectory, File translationDirectory, Locale translationLocale, Options options) throws JDocBookProcessException
synchronizePo
in interface PoSynchronizer
potDirectory
- The directory containing the POT files.translationDirectory
- The directory containing the translation PO files.translationLocale
- The locale of the translationoptions
- The user optionsJDocBookProcessException
- unable to synchronize POT filesCopyright © 2007-2013 JBoss, a division of Red Hat, Inc. All Rights Reserved.