| Package | Description |
|---|---|
| com.google.template.soy.jbcsrc.runtime | |
| com.google.template.soy.jbcsrc.shared | |
| com.google.template.soy.msgs |
Support for message translation (i.e. localization).
|
| com.google.template.soy.msgs.restricted |
| Modifier and Type | Method and Description |
|---|---|
static void |
Runtime.renderSoyMsgWithPlaceholders(SoyMsg msg,
Map<String,Object> placeholders,
Appendable out)
Render a 'complex' message containing with placeholders.
|
| Modifier and Type | Method and Description |
|---|---|
SoyMsg |
RenderContext.getSoyMsg(long msgId,
SoyMsg defaultMsg)
Returns the
SoyMsg associated with the msgId or the fallback (aka english)
translation if there is no such message. |
| Modifier and Type | Method and Description |
|---|---|
SoyMsg |
RenderContext.getSoyMsg(long msgId,
SoyMsg defaultMsg)
Returns the
SoyMsg associated with the msgId or the fallback (aka english)
translation if there is no such message. |
| Modifier and Type | Method and Description |
|---|---|
SoyMsg |
SoyMsgBundle.getMsg(long msgId)
Retrieves a message by its unique message id.
|
| Modifier and Type | Method and Description |
|---|---|
Iterator<SoyMsg> |
SoyMsgBundle.iterator()
Returns an iterator over all the messages.
|
| Modifier and Type | Method and Description |
|---|---|
SoyMsg |
SoyMsgBundleImpl.getMsg(long msgId) |
| Modifier and Type | Method and Description |
|---|---|
Iterator<SoyMsg> |
SoyMsgBundleImpl.iterator() |
| Constructor and Description |
|---|
SoyMsgBundleImpl(String localeString,
List<SoyMsg> msgs)
Note: If there exist duplicate message ids in the
msgs list, the first one wins. |