server-side and client-side translations