In this chapter we are going to implement the multilingual capability of the system. This feature will allow the system to display the translation of the labels according to the language selected by the user (using some of the new HTML 5 features).
We will also learn how to implement the logout capability, so that the user can end the session, and also for security reasons we will learn how to implement a session timeout warning for the user in case of inactivity (not using the mouse or keyboard for a while).
Also, after the user is authenticated we need to display the application. In this chapter we will learn how to implement the base of the application using a Viewport.
So in this chapter, we will cover:
The base of the application
The logout capability
Activity monitoring and the session timeout warning
Structuring the application to receive the multilingual capability
Creating the change language component
Handling the language change at runtime