making it so the search results render in the correct languages