| Package | Description |
|---|---|
| com.google.template.soy |
Root package with main API entry point and
Guice module.
|
| com.google.template.soy.msgs |
Support for message translation (i.e. localization).
|
| com.google.template.soy.xliffmsgplugin |
Message plugin for the
XLIFF file format.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SoyFileSet.extractAndWriteMsgs(SoyMsgBundleHandler msgBundleHandler,
SoyMsgBundleHandler.OutputFileOptions options,
com.google.common.io.ByteSink output)
Extracts all messages from this Soy file set and writes the messages to an output sink.
|
| Modifier and Type | Method and Description |
|---|---|
CharSequence |
SoyMsgPlugin.generateExtractedMsgsFile(SoyMsgBundle msgBundle,
SoyMsgBundleHandler.OutputFileOptions options,
ErrorReporter errorReporter)
Builds the content of an extracted messages file (source messages to be translated) from a
given message bundle object containing messages extracted from source files.
|
CharSequence |
SoyBidirectionalMsgPlugin.generateTranslatedMsgsFile(SoyMsgBundle msgBundle,
SoyMsgBundleHandler.OutputFileOptions options)
Builds the content of a translated msgs file from a given message bundle object.
|
void |
SoyMsgBundleHandler.writeExtractedMsgs(SoyMsgBundle msgBundle,
SoyMsgBundleHandler.OutputFileOptions options,
com.google.common.io.ByteSink output,
ErrorReporter errorReporter)
Generates extracted messages (source messages to be translated) from a given message bundle,
and writes it out.
|
void |
SoyMsgBundleHandler.writeToTranslatedMsgsFile(SoyMsgBundle msgBundle,
SoyMsgBundleHandler.OutputFileOptions options,
File outputFile)
Generates an translated messages file (source messages to be translated) from a given message
bundle, and writes it to file.
|
| Modifier and Type | Method and Description |
|---|---|
CharSequence |
XliffMsgPlugin.generateExtractedMsgsFile(SoyMsgBundle msgBundle,
SoyMsgBundleHandler.OutputFileOptions options,
ErrorReporter errorReporter) |