t
Returns a string of translated text for a given translation key from a i18n file.
key | t() returns [string]
Params
-
keystring: I18N file key.
Hash Params
-
...propsany: Replaces dynamic placeholders in multilingual text.
Example
{{ "products.general.sold_out" | t() }}
{{ "products.product_details.inventory_low_stock_show_count" | t(quantity=10) }}
Was this article helpful to you?