use dir for translation