- There is an object that stores all the strings in all languages
- This object has a property “current language”
- This object has a method that returns a string with a certain identifier in the current language
- When changed property “language” called a event
- Any object can subscribe to this event and update their data when it occurs
Example:
drive.google.com/open?id=0B_XuF … G5WbWRpdFk
p.s. the source is very very dirty, it’s only test