moving xdg-dir call to after locale generation