Articles tagged with i18N
Some time ago, I wanted to add some tests (behavior and render) on an Aurelia component that uses the i18n plugin and more precisely the df attribute in the view to display a localized date.
Since it was a while back (I wanted to write it earlier but couldn't), my …
Read more...
If you use Aurelia with the i18n plugin, you will have to maintain JSON files that will map a translation key to an actual translation. Manually editing the file to add/remove keys can be tedious.
Luckily, keys can be extracted automatically thanks to i18next-scanner. It can extract translation keys …
Read more...
While asking users to test an Aurelia application, it appeared that it didn't work on Safari due to this error:

It comes from the fact that Safari doesn't support the internationalization (window.Intl) API.
In order to solve it, I had to manually include the Intl.js polyfill. Since it …
Read more...