Example app utilising the Alfresco Angular2 components. Translate sales collateral via a process and view translated material.
Before you start using this app, make sure you have installed all required software and done all the necessary configuration, see the prerequisites.
Follow the steps in setup steps which detail how to set up the correct data in Alfresco ECM and Activiti before you run the application.
Install dependencies
npm install
Fast build and watch for dev purposes
npm start
The npm start
script also includes live reload and watchers for all the .ts
files.
TypeScript watchers are also configured for node_modules
folder within demo shell
and provide live reload for all the component libraries as well.
To support a new language you need to create your language file (.json) and add it to i18n/
folder.
{
"username" : "Username",
"input-required-message": "Required",
"input-min-message": "Your username needs to be at least 4 characters.",
"login-button": "Login"
}
Directory structure:
.
├── i18n/
│ ├── en.json
│ ├── it.json
│ └── fr.json
For detailed changelog, check Releases.