Use `when' instead of `if' when no `else' clause exist.
No need to redefine `if' now.
Do not change LANG.

It may cause encoding problems when system do not support specified
locale. e.g. `outfile`.