Refactored dependency import translation to look up a template string from the target language instead of hardcoding