Updated function for creating sample content to correctly handle
translations