package
0.0.0-20240319171658-c50f1b6ba738
Repository: https://github.com/robfig/soy.git
Documentation: pkg.go.dev

# Packages

Package pomsg provides a PO file implementation for Soy message bundles.

# Functions

NewMessage returns a new message, given its ID and placeholder string.
Parts returns the sequence of raw text and placeholders for the given message placeholder string.
PlaceholderString returns a string representation of the message containing braced placeholders for variables.
SetPlaceholdersAndID generates and sets placeholder names for all children nodes, and generates and sets the message ID.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Message is a (possibly) translated message.
PlaceholderPart is a segment of a message that stands in for another node.
PluralCase is one version of the message, for a particular plural case.
PluralPart is a segment of a message that has multiple forms depending on a value.
PluralSpec is a description of a particular plural case.
RawTextPart is a segment of a message that displays the contained text.

# Interfaces

Bundle is the set of messages available in a particular locale.
Part is an element of a Message.
Provider provides access to message bundles by locale.

# Type aliases

PluralSpecType is the CLDR plural class.