Add get_langs function to expose available languages.