Bug 22236: Translation should generate tags with consistent attribute order