improve the way to get the relative translation file path
update commands
update tests