Adding Set Locale snippet