Localization

Localization filters enable you to customize the language and format of elements according to the customer’s locale.

t

string | t
returns  string

Returns a string of translated text for a given translation key from a locale file.

📘

Tip

To learn more about using the t filter, refer to Storefront locale file usage.