geoadmin/ol3 — pull request #40 by procrastinatio (2014-02-07 17:26:49+00:00)
Title: I18n

How to use it:

ga.Lang['tr'] = {'you are great!': 'Süpersiniz!'}
ga.Lang.setCode('tr')
ga.Lang.translate('you are great!')
--> "Süpersiniz!"
ga.Lang.setCode('de')
ga.Lang.translate('you are great!')
--> "you are great!"