Refactor translations editing/importing