refactor translations_accessor to reduce complexity
refactor with_translations to reduce complexity