Add the ability to use Phrase App

https://code.google.com/p/otwarchive/issues/detail?id=4015

Phrase App is a translation application that we want to use on the i18n site to allow the translation group to generate translations for the archive.

There should be no change on the test site and beta.  However check the footers still work :)

Elz has commented upon this in the past

This also fixes an issue where the headers go though the translation system twice.

On 10 Jun 2014, at 14:20, astolat <notifications@github.com> wrote:

> In config/initializers/phrase.rb:
> 
> > @@ -0,0 +1,25 @@
> > +Phrase.configure do |config|
> > +  # Enable or disable the PhraseApp context editor in general
> > +  if ArchiveConfig.PHRASEAPP_ENABLE == "true" then
> > +    config.enabled = true 
> > +  else 
> > +    config.enabled = false 
> > +  end
> > +
> > +  # Fetch your project auth token after creating your first project
> > +  # in the PhraseApp translation center.
> > +  config.auth_token = ArchiveConfig.PHRASEAPP_TOKEN
> > +
> just one last note, the config file isn't updated with these new settings in this pullreq as far as I can see -- is that deliberate and you don't want to turn it on at this point, you just want to get it in the codebase to make sure adding it doesn't screw anything up? Otherwise this looks good to go to me
> 
> 

Part of not updating the config file is I only want to turn it on in the i18n instance and the other is that all instances apart from dev do not use the config in the repository.

What I want to do is slowly get the code need for i18n in the code base and only have it working in the i18n instance test-i18n.ao3.org/