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.
Constants
- i18nDescription → const String
- i18nDescriptionPrefix → const String
- i18nLocale → const String
- i18nLocalePrefix → const String
- i18nMeaning → const String
- i18nMeaningPrefix → const String
Properties
- i18nRegExp → RegExp
-
final
Functions
-
internationalize(
StandaloneTemplateAst parent, I18nMetadata metadata, int? ngContentIndex) → List< TemplateAst> -
Internationalizes the children of a
metadata
-annotatedparent
node. -
parseI18nMetadata(
List< AnnotationAst> annotations) → I18nMetadataBundle -
Parses all internationalization metadata from a node's
annotations
.