Validates BCP-47 Language Tags using the npm package bcp-47 and formats them in a unique way to ensure consistency.