Use this package to separate the language sentences from your javascript components. In this case, the language sentences are defined in the header of the document. See other examples to learn how to use the translator plugin to load different modules or loading onDemand when you need a language module.
Click here to show the YES messege in the current language
Click here to how the NO messege in the current language
In this example, the default language is SPANISH, but you can switch to ENGLISH language (click on the links).