angular-translate/angular-translate — pull request #615 by PierreReliquet (2014-06-23 06:58:57+00:00)
Title: Adding ability to register a transformer to manipulate the static files r...

...eceived and transform them into JSON object.

The $translateStaticFilesLoader has been transformed into a provider so we can now
register a specific transformer in the case where the static files loaded from the
server would not be valid JSON object. For instance, if the files are .properties
(used for Java i18n) the file could be transformed into a valid key-value pair
object which would keep the compatibility with angular-translate.

I come from a Java background and I work on Java project, consequently our i18n files are written as .properties files so I would like to be able to keep using angular-translate which explains why I would like to integrate a transformer inside the static file loader.