locale-gen fa_IR.UTF-8 ubuntu code example Example: locale-gen fa_IR.UTF-8 ubuntu $ locale-gen fa_IR.UTF-8