load pages according to the language