Below are two arguments. The first one combines the two pieces you mentioned, and the second one ("Added") assumes that the group is metrizable. The second argument actually does not use the hypothesis that the group is abelian (see ($\dagger$) and ($\dagger\dagger$) below), although the existence of an ergodic translation implies that the group is abelian by one of the arguments I presented at Left Translation Action is Ergodic with respect to Haar.
Claim: Let $G$ be a compact abelian (not necessarily metrizable) group, $\eta_G$ be its Haar probability measure, $R_\bullet:G\curvearrowleft G$ be right translation action: $R_g(x)=x+g$. Let $f:G\to G$ be a $\eta_G$-almost everywhere defined measurable and $\eta_G$-preserving self-map of $G$. If $g\in G$ is such that $R_g$ is ergodic w/r/t $\eta_G$, and $\eta_G$-almost everywhere $f\circ R_g=R_g\circ f$, then there is an $h\in G$ such that $\eta_G$-almost everywhere $f=R_h.$
Denote by $G_0$ the full $\eta_G$-measure subset of $G$ on which both $f$ is defined and the commutation relation $f\circ R_g = R_g\circ f$ holds.
Proof: Let us also denote by $\widehat{G}=\text{Hom}_{\text{LCA}}(G;S^1)$ the Pontryagin dual of $G$. Note that the elements of $\widehat{G}$ (i.e. continuous characters $\chi$ of $G$) separate points of $G$, that is, given any $x,y\in G$, if $x\neq y$, then there is a character $\chi\in\widehat{G}$ such that $\chi(x)\neq\chi(y)$ (see e.g. Rudin's Fourier Analysis on Groups, p.24).
For any $\chi\in\widehat{G}$, put $f_\chi = \chi\circ(f-\text{id}_G):G\to \mathbb{C}$, $x\mapsto \dfrac{\chi\circ f(x)}{\chi(x)}=\chi\circ f(x)\, \overline{\chi(x)}$. Since $f$ is $\eta_G$ preserving we have that $f_\chi\in L^2(G,\eta_G;\mathbb{C})$. Further note that for any $x\in G_0$
$$f_\chi\circ R_g(x)=\chi(f(x+g)-(x+g)) = \chi(f(x)+g-g-x)=\chi(f(x)-x)=f_\chi(x),$$
where in the second equality we used the fact that $f$ commutes with $R_g$ on $G_0$, so that $f_\chi$ is a square integrable function $\eta_G$-almost everywhere invariant under the ergodic $R_g$; consequently it is constant (which constant possibly depends on the character $\chi$) (see e.g. Understanding the proof how an invariant function w.r.t. an ergodic transformation is constant a.e.).
For any $h\in G$, define the level set $S_h = (f-\text{id}_G)^{-1}(h)=\{x\in G_0 \,|\, f(x)-x=h\}$. Then we have that each $S_h$ is a Borel measurable subset and $G_0=\biguplus_{h\in G}S_h$. Note that the level set $S_h$ is precisely the set on which $f$ acts as translation by $h$ (a priori there may be different regions of $G$ on which $f$ acts as translations by different elements; our aim is to show that $f$ acts as a translation by an element that works globally $\eta_G$-almost everywhere). Some level sets are possibly negligible; but since they are disjoint there is an $h_1\in G$ such that $\eta_G(S_{h_1})>0$.
Suppose $f$ is not a translation $\eta_G$-almost everywhere. Then $\eta_G(S_{h_1})<1$ and consequently there is an $h_2\in G$ such that $h_2\neq h_1$ and $\eta_G(S_{h_2})>0$. Continuous characters of $G$ separate points of $G$; thus there is a $\chi=\chi_{h_1,h_2}\in \widehat{G}$ such that $\chi(h_1)\neq \chi(h_2)$. But then $f_{\chi}$ takes different values on the disjoint measurable subsets $S_{h_1}$ and $S_{h_2}$ of positive $\eta_G$-measure, a contradiction to $f_\chi$ being constant $\eta_G$-almost everywhere.
Added: Under the extra assumption that $G$ is metrizable, one can bypass the uncountable union used in the above proof. For this we'll use a version of Lusin's Theorem (see e.g. Lusin Theorem conditions). Specifically consider the version of Lusin's Theorem given in Kechris' Classical Descriptive Set Theory, p.108:
Theorem (Lusin): Let $X$ be a metrizable topological space and $Y$ be a second countable topological space. Then for any Borel probability measure $\mu$ on $X$ and any measurable function $\varphi:X\to Y$ the following holds: for any $\epsilon\in\mathbb{R}_{>0}$, there is a closed subset $F_\epsilon\subseteq X$ such that
- $1-\epsilon < \mu(F_\epsilon)$,
- $\left.\varphi\right|_{_{F_\epsilon}}:F_\epsilon\to Y$ is continuous.
If $X$ is Polish (i.e. completely metrizable and separable topological space), then $F_\epsilon$ can be taken to be compact.
Second Proof (assuming $G$ is in addition metrizable): Fix a compatible distance function $d$ on $G$. We may apply Lusin's Theorem (see Every compact metrizable space is second countable, Compact metric spaces is second countable and axiom of countable choice, A metric space is separable iff it is second countable) to get a compact subset $K\subseteq G$ such that
- $0<\eta_G(K)$,
- $\left.(f-\text{id}_G)\right|_{_K}:K\to G$ is continuous.
Denote for any $h\in G$ and for any $\delta\in\mathbb{R}_{>0}$ by $G[h|<\delta]=(G,d)[h|<\delta]$ the open ball centered at $h$ with radius $\delta$ (w/r/t the distance function $d$); thus
$$G[h|<\delta]=(G,d)[h|<\delta] = \{x\in G\,|\, d(x,h)<\delta\}.$$
By the continuity of $\left.(f-\text{id}_G)\right|_{_K}$, for any $h$ and $\delta$, the set $\left(\left.(f-\text{id}_G)\right|_{_K}\right)^{-1}(G[h|<\delta])$ is open in $K$ and further for any fixed $\delta$ we have an open cover
$$K=\bigcup_{h\in G}\left(\left.(f-\text{id}_G)\right|_{_K}\right)^{-1}(G[h|<\delta]).$$
By the compactness of $K$, there is a finite set $F_\delta\subseteq G$ such that
$$K=\bigcup_{h\in F_\delta}\left(\left.(f-\text{id}_G)\right|_{_K}\right)^{-1}(G[h|<\delta]).$$
As $K$ has positive $\eta_G$-measure, there is some element $h_\delta\in F_\delta$ such that
$$0<\eta_G\left(\left(\left.(f-\text{id}_G)\right|_{_K}\right)^{-1}(G[h_\delta|<\delta])\right).\quad\quad (\star)$$
Note that for any $h$ and $\delta$ we have that
\begin{align*}
\left(\left.(f-\text{id}_G)\right|_{_K}\right)^{-1}(G[h|<\delta])
&=\{x\in K \,|\, d(f(x)-x,h)<\delta\}\\
&=K\cap \left(f-\text{id}_G)\right)^{-1}(G[h|<\delta])\\
&\subseteq \left(f-\text{id}_G)\right)^{-1}(G[h|<\delta])
\end{align*}
Thus by ($\star$) we have that $0<\eta_G\left(\left(f-\text{id}_G)\right)^{-1}(G[h_\delta|<\delta])\right)$. Further, the measurable set $(\left(f-\text{id}_G)\right)^{-1}(G[h_\delta|<\delta])$ is invariant under the ergodic translation $R_g$ (since $f$ commutes with $R_g$; ($\dagger$) one can show this without using the abelian nature of $G$: $f(xg)(xg)^{-1}=f(x)gg^{-1}x^{-1}=f(x)x^{-1}$), whence we have:
$$\forall \delta\in\mathbb{R}_{>0}, \exists h_\delta\in G: \eta_G\left(\left(f-\text{id}_G)\right)^{-1}(G[h_\delta|<\delta])\right)=1.$$
In particular, discretizing $\delta$, we have:
$$\forall k\in\mathbb{Z}_{\geq1}, \exists h_k\in G: \eta_G\left(\{x\in G \,|\, d(f(x)-x,h_k)<1/k\}\right)=1.$$
$G$ is compact, thus there is a subsequence $k_\ell\subseteq k$ and an element $h^\ast\in G$ such that $\lim_{\ell\to\infty} d(h_{k_\ell},h^\ast)=0$. Put $E=\bigcap_{\ell\in\mathbb{Z}_{\geq1}}\left(f-\text{id}_G)\right)^{-1}(G[h_{k_\ell}|<1/{k_\ell}])$. Thus $E$ is a measurable subset of $G$ with full $\eta_G$ measure.
We claim that on $E$, $f$ coincides with translation by $h^\ast$. Indeed, let $\epsilon\in\mathbb{R}_{>0}$. Then there is an $L\in\mathbb{Z}_{\geq1}$ such that for any $\ell\in\mathbb{Z}_{\geq L}$:
$$\dfrac{1}{k_\ell}<\dfrac{\epsilon}{2},\quad\quad d(h_{k_\ell},h^\ast)<\dfrac{\epsilon}{2}.$$
Let $x\in E$. Then
\begin{align*}
d(f(x)-x,h^\ast)
\leq d(f(x)-x,h_{k_L}) + d(h_{k_L},h^\ast)
<\epsilon.
\end{align*}
$\epsilon$ was arbitrary, whence on the full $\eta_G$-measure subset $E$, $f=R_{h^\ast}$. (($\dagger\dagger$) Without using the abelian nature of $G$ the same argument gives that on $E$ $f$ coincides with the left translation by $h^\ast$.)