This example shows how you can define language resource bundles for your custom module implementations; it also illustrates how YUI Loader can load the correct bundle based on the language you've chosen for your YUI instance.
Speaking in: en
Hello
Goodbye
Speaking in: fr
Bonjour
Au revoir
Speaking in: es
Hola
Adiós