Use this package to separate the language sentences from your javascript components. In this case, the language sentences are loading onDemand.
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).