June 2018
Intermediate to advanced
348 pages
8h 19m
English
Our application is ready to start using the i18n framework. There are some steps to get ready with the plugin, so let's explore them.
The first thing we need is to locate our index.html file. This should be located in our main root application folder. Ensure that your <body> section is the same as the following:
<body aurelia-app="main"> /* Some content */ </body>
Then, in your root app location, create a folder called locales. It will be used to store all your location files. Create one folder per language you want to support. Then, inside each folder, create a file called translation.json. This file will contain ...