In case of Chinese, ${loc%_*} creates /usr/share/locale-langpack/zh. While that seems to be sufficient to trigger prompting for installation of the langpacks, the directory actually used by the langpacks is either zh_CN or zh_TW. So zh remains a skeleton directory.
Would it be possible to treat Chinese as a special case in ubiquity and localechooser and create zh_CN or zh_TW instead of zh?
Another option might be to let language-selector remove the skeleton dir somehow.
In case of Chinese, ${loc%_*} creates /usr/share/ locale- langpack/ zh. While that seems to be sufficient to trigger prompting for installation of the langpacks, the directory actually used by the langpacks is either zh_CN or zh_TW. So zh remains a skeleton directory.
Would it be possible to treat Chinese as a special case in ubiquity and localechooser and create zh_CN or zh_TW instead of zh?
Another option might be to let language-selector remove the skeleton dir somehow.