Our paper is focused on spaces of generalized almost periodic functions which, as in classical Fourier analysis, are associated with a Fourier series with real frequencies. In fact, based on a pertinent equivalence relation defined on the spaces of almost periodic functions in Bohr, Stepanov, Weyl and Besicovitch's sense, we refine the Bochner-type property by showing that the condition of almost periodicity of a function in any of these generalized spaces can be interpreted in the way that, with respect to the topology of each space, the closure of its set of translates coincides with its corresponding equivalence class.