fix undefined index pages

Signed-off-by: Suki <suki@missallsunday.com>
Nope, it was a simple fix after all, just load the languages before loading the templates :)

Signed-off-by: Suki <suki@missallsunday.com>
Merge pull request #2256 from MissAllSunday/stuff

Stuff  just