adding variables for corpus pages and corpus db names and resolving all {{ that were in the messages and localizations