Updated: 2026-11-10
translate_unit
Translates a unit.
Example
1
2
{{ 'kg' | translate_unit }} => kg
{{ 'colli' | translate_unit }} => kolli
Input
| Type | Parameter | Description | Required |
|---|---|---|---|
| string | unit | The unit to translate. Comes before the | sign. | Required |
Output
| Type | Description |
|---|---|
| string | The translated unit |