It is known that every finite
dimensional translation invariant subspace of measurable functions on a σ-compact
locally compact Abelian group consists of exponential polynomials. This paper
extends this result for continuous functions on arbitrary commutative topological
groups. An analogous characterization is proved for trigonometric polynomials using
Fourier transformation.