Use Globalize to internationalize your application.
Standalone Number |
"" |
Standalone Currency |
"" |
Standalone Date |
"" |
Standalone Date (in a specific IANA time zone, e.g., America/Sao_Paulo) |
"" |
Standalone Date (note the highlighted month, the markup was added using formatDateToParts) |
"" |
Standalone Relative Time |
"" |
Standalone Unit |
"" |
An example of a message using mixed number "{number}", currency "{currency}", date "{date}", relative time "{relativeTime}", and unit "{unit}".
An example of a message with pluralization support:
{count, plural,
one {You have one remaining task}
other {You have # remaining tasks}
}.
{%
var hasShownLocaleHelp;
for ( var chunk in o.htmlWebpackPlugin.files.chunks ) {
if ( /globalize-compiled-data-/.test( chunk ) && chunk !== "globalize-compiled-data-en" ) {
if ( !hasShownLocaleHelp ) {
hasShownLocaleHelp = true;
%}
{% } %}
{% } else { %}
{%
}
}
%}