add translation stub index and refactoring of translation key related psi stuff