get proper localized content from relational databases