Add textdomain function and fix plurialIndex