Hint: In a topological group operations are continuous. In particular, $t_g:G\rightarrow G$ given by $t_g(x) = xg$ is continuous. Similarly with $t_{g^{-1}}$. Next $$t_g\cdot t_{g^{-1}}=?,\,t_{g^{-1}}\cdot t_g = ?$$
**Remark.** You don't need local compactness.