fix copy of i18n templates
remove unused parameters in function mkdir_or_die
add post-clone pseudo-hook