So I have read that if we translate a quantum scalar field, it transforms as
$$ U(\mathbf{a})^\dagger \hat{\phi}(\mathbf{x}) U(\mathbf{a}) = \hat{\phi}(\mathbf{x+a}). $$
where $U(\mathbf{a})$ is the translation operator. I do not understand why this is the case so I set about to prove it myself and I feel I have made some progress but any help would be much appreciated!
So, the field operator $\hat{\phi}(\mathbf{x}) $ comes from promoting the classical scalar field $ \phi(\mathbf{x}) $ to an operator. So my starting point is with the classical field. If I actively translate my classical field by a vector distance $ \mathbf{a} $, I find
$$ \phi(\mathbf{x}) \rightarrow \phi'(\mathbf{x})=\phi(\mathbf{x - a})$$
Now I will promote the fields $\phi(\mathbf{x})$ and $ \phi'(\mathbf{x})$ to operators with the interpretation that they produce a particle at the point $\mathbf{x}$, i.e.
$$ \hat{\phi}(\mathbf{x}) |0\rangle = | \mathbf{x} \rangle. $$
So
$$ \hat{\phi'}(\mathbf{x}) |0\rangle = \hat{\phi}(\mathbf{x-a}) |0\rangle \\ = |\mathbf{x-a}\rangle \\ =U(\mathbf{-a})|\mathbf{x}\rangle\\ =U(\mathbf{a})^\dagger\hat{\phi}(\mathbf{x}) |0\rangle.$$
So I have concluded that $ U(\mathbf{a})^\dagger\hat{\phi}(\mathbf{x}) = \hat{\phi}(\mathbf{x-a}) $ which doesn't agree with the first equation I wrote. I do not understand what the next step is, assuming what I have written is correct.