Refresh page titles and tabs for language switching