Take the default values of lc_messages and lc_messages_dir out of the attributes file; put in conditionals for the lc_messages settings and --languages in my.cnf