localizing texts for gallery