discourse/discourse — pull request #1668 by eriko (2013-11-18 22:01:01+00:00)
Title: Allow plugins to register their own locale files.

An example would be something like

register_locale([File.expand_path('../locale.yml', __FILE__)])

down next to where the call to register_css in a plugin.