aurelia-ui-toolkits / aurelia-syncfusion-bridge

27 stars 21 forks source link

Localization #54

Closed stuartbloom closed 7 years ago

stuartbloom commented 7 years ago

Hi there, I am using the i18n plugin for localization. Is there anyway to make use of the localised json file for things like column names?

I know I can create a property in my VM that i can then use, for example e-header-text="${col1Header}", however, it would be far nicer to have all this done in the view without having to have the extra properties.

Thanks in advance

stuartbloom commented 7 years ago

Figured it out; you can use something like:

e-header-text="${ 'requirements:grid-columns.col0' | t }"