internationalization - Aurelia-i18n attribute [t] vs [i18n] -


i wondering difference between these 2 attributes when using "aurelia-i18n" plugin

they both defined in main.ts inside i18n plugin "startup"

lng: "en", attributes: ["t", "i18n"], fallbacklng: "en", 

however, i18n attribute seems work in "views" , doesn't work when used inside custom element. t work in custom elements. wondering if there kind of difference between these two, not described in docs?

true there is/was bug filed in meantime got resolved latest release. accompanying issue here, documented recent docs update

no other differences should present, , sole purpose give developers freedom chose other aliases.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -