If cache is empty for a language, the first token on a page is not translated. We fix it by setting messages variable immediately after cache is full.