partial translation and file enconding