Better base path handling for translate files
Use encoded flags instead of pngs