zeripath ba0f9274e9
Allow dev i18n to be more concurrent ()
The recent changes to add live-reloading to the i18n translation files made the i18n code totally non-concurrent when using dev. This will make discovering other concurrency related issues far more difficult. This PR fixes these, adds some more comments to the code and slightly restructures a few functions.

Signed-off-by: Andrew Thornton <art27@cantab.net>
..
i18n.go Allow dev i18n to be more concurrent ()
i18n_test.go Make better use of i18n ()