tweaking function to get the alternate language id's