v1/src/compiler/i18n library

Classes

I18nMessage
An internationalized message.
I18nMetadata
Metadata used to internationalize a message.
I18nMetadataBundle
Internationalization metadata for a node's attributes and content.

Properties

i18nRegExp RegExp
final

Functions

internationalize(StandaloneTemplateAst parent, I18nMetadata metadata, int? ngContentIndex) List<TemplateAst>
Internationalizes the children of a metadata-annotated parent node.
parseI18nMetadata(List<AnnotationAst> annotations) I18nMetadataBundle
Parses all internationalization metadata from a node's annotations.