Get all current translated languages

Alexandru Dragut asked on October 20, 2017 13:02

Hello,

Im using Kentico 9 and I am trying to get a list of all the languages the website is currently translated to but I cant figure it out how. Thanks

Recent Answers


David te Kloese answered on October 20, 2017 13:14

In the sites application you can see all cultures each site currently supports.

Or look directly into the Localization module.

0 votesVote for this answer Mark as a Correct answer

Alexandru Dragut answered on October 20, 2017 13:25

Thanks for the response. But I am trying to to that from c# code.

0 votesVote for this answer Mark as a Correct answer

David te Kloese answered on October 20, 2017 13:33

Try:

CultureSiteInfoProvider.GetSiteCultures("SiteName")

Returns a dataset with cultures for the site code you supply.

3 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.