add translation indexer and provide references; some refactoring of config components to reuse code