intl-extra
intl-extra copied to clipboard
Intl support for Twig
Twig Intl Extension
This package is a Twig extension that provides the following:
-
country_name
filter: returns the country name given its two-letter/five-letter code; -
currency_name
filter: returns the currency name given its three-letter code; -
currency_symbol
filter: returns the currency symbol given its three-letter code; -
language_name
filter: returns the language name given its two-letter/five-letter code; -
locale_name
filter: returns the language name given its two-letter/five-letter code; -
timezone_name
filter: returns the timezone name given its identifier; -
country_timezones
filter: returns the timezone identifiers of the given country code; -
format_currency
filter: formats a number as a currency; -
format_number
filter: formats a number; -
format_datetime
filter: formats a date time; -
format_date
filter: formats a date; -
format_time
filter: formats a time.