I want to get the list of all the locales present under a branch using cssdk api. Is there a way to get it ?
There is no supported API for asking a branch which locales are enabled. (The classes to do so exist, but are not part of the SDK)
However, if you have a LiveSite site created for each locale, you could just loop through your sites and check the locale of each...
yeah I did the same thing. looped through the folders inside Sites folder to get the locales. I wish if there more feasible way to do it. anyways thanks.
I would hope that this is already on HP's radar for adding to the CSSDK, but it doesn't hurt to submit a feature request