Minor fixes in the translation feature

Translation now also works in the graph captions and the form buttons.
Added german language file.
Added translations for project link
Refactored globals
Fixed tests
Merge branch 'ilalmi-master'