Skip to content
This repository was archived by the owner on Nov 19, 2024. It is now read-only.

Added missing example for i18n Magento binding syntax #6016

Merged
merged 2 commits into from
Nov 18, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion guides/v2.2/ui_comp_guide/concepts/knockout-bindings.md
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,9 @@ The `i18n` binding is used to translate a string according to the currently enab
**Usage example**:

```html
<div data-bind="i18n: 'Translate as a standard knockout binding'"></div>
<!-- ko i18n: 'Translate using the virtual element' --><!-- /ko -->

<div data-bind="i18n: 'Translate using the standard knockout binding'"></div>

<div translate="'Translate using the attribute'"></div>

Expand Down