I'm new to Episerver and we're converting our 4.61 site to 5 R2. I'm currently working on displaying the current languages and names in an unordered list using an asp repeater. I am wondering how to access the "custom icon" I set in the admin UI, and have it display in my asp repeater. What is the code I would use for this? Any help would be appreciated. Thanks!
You need to use the LanguageBranch class to get that information. I think it's the ResolvedIconPath property, but I'm not 100% sure.
To get all enabled languages you can use LanguageBranch.ListEnabled() and connect that to your repeater. It depends on exactly what you want to do, but the LanguageBranch class is what you need to work with.
Per GunsarfsEPiServer CMS Development Team