makes the user stay on the same page when selecting a language
adds the de and es locale files
fix some errors when there's no resource instanced