examples/helper.php: Add support for "--locale" option.