Added checkcmdline function and traslation of the strings