The easy way to add locale environment on Ubuntu

  sudo /usr/share/locales/install-language-pack zh_CN.GBK

install-language-pack will have nothing to do if the locale is invalid.