added ubuntu 12 LTS support

Hello

This manifest didn't work on ubuntu 12 lts because the command locale-gen does not check /etc/locale.gen, it checks /var/lib/locales/supported.d/local instead. So, I've aded a case $operatingsystem for ubuntu and now it works on both distributions