tweaking function to get alt lang ids