Added a language field to the Post model.
Now performing DB migration.
Added language handling to index() of app/views.py.
guessLanguage class is used.
Added a Translate link to the post template.
Changed the tr scripts to make them work.
Not used POEdit to submit translations. Perhaps I80n and L10n will not work.
Registered an app at the Azure marketplace.
Obtained app details for MS Translator service and entered it into config.py.
Fixed minor mistake in views.py.
Added a translation source file.
It acquires the Microsoft translator access token and attempts translations.
Made minor changes to translate.py.
Added a translate view function to app/views.py.
It gets translated text from microsoft_translate (sends data to it as if it has obtained form info via POST).
This is converted into JSON.
Added <span> tags to wrap up post body and its translation in post template.
The span id will be used to find the post in the DOM when doing Ajax.
Added a spinning wheel gif as <img> tag to the post template.
Need to download the actual file.
Added an anchor tag which calls the translate function we are going to define in the base template.
This is a javascript function and will use jQuery.
Added the translate JS function to the base template for easy reuse.
1. Translate link element is hidden and the spinning wheel is shown.
2. $.post() sends an Ajax POST request to server (no page reload occurs).
3. When server issues a response, that is provided as argument to the done() function, which will be doing the data insertion into the page.
4. In done(), we overwrite the translate link in the DOM with the translated text, hide the spinning wheel and display the translation.
5. Errors, if any, are handled by fail().
Created a small translate test.
Modified the post template.
Now the Translate link does not appear for some reason.
Fixed the momentjs bug.
Missing parenthesis!!
Made the JS translate() function the exact same as miguel's.
Still no breakthrough against the translate bug.
Merge pull request #14 from VaticanCameos/ch15

Adding chapter 15