Adding code snippet to demonstrate switching locale