|
Member
|
carljohan_larsson-hotmail
-
1/8/2011 4:08:47 AM
Delete a culture
When I try to delete a culture a get the message ="The site contains some documents of culture 'es-ES'. The culture cannot be unassigned. ".
Is there a quick way to delete all localized content?
|
|
|
Kentico Support
|
kentico_radekm
-
1/10/2011 1:16:30 AM
RE:Delete a culture
Hello. To be able to unassign this culture from your site, you need to delete all documents in this culture at first. You can do it in CMSDesk -> Content -> root -> List mode, if you select given culture, select "All documents" and choose "Delete" action, or you can delete them via API.Best Regards, Radek Macalik
|
|
|
Member
|
carljohan_larsson-hotmail
-
1/13/2011 1:33:12 AM
RE:Delete a culture
Thank you for your quick reply. That doesn’t work for me. I tried that and then i could delete some of the cultures installed but there is still one remaining. I have tried to look for anything that could contain something in that culture but I am unable to find it.
Where can it be?
|
|
|
Kentico Support
|
kentico_radekm
-
1/13/2011 4:17:26 AM
RE:Delete a culture
Hello.
There always must be at least one culture assigned to your site, if there are some documents translated in this culture. In other words, you can´t delete culture you have some document in. If you want to delete all documents of selected culture, you can do it in CMSDesk -> Edit -> List tab, where you can select culture and delete all documents. When no document is translated in culture X, you can un-assign it from your site then.
Best Regards, Radek Macalik
|
|
|
Member
|
carljohan_larsson-hotmail
-
1/13/2011 8:03:34 AM
RE:Delete a culture
I do this: But i still se this:
|
|
|
Kentico Support
|
kentico_radekm
-
1/13/2011 3:53:20 PM
RE:Delete a culture
Hello. This is weird. Is your site live? I would like to see it and try to reproduce it, or solve it on your site directly. If the site is live, can you write us an e-mail to support@kentico.com and refer to this forum post? If the site is not live, can you make export of it and send it to us as well? Thank you. Best Regards, Radek Macalik
|
|
|
Member
|
carljohan_larsson-hotmail
-
1/14/2011 1:34:20 AM
RE:Delete a culture
Check your inbox :).
|
|
|
Member
|
ahmad2x4-yahoo
-
2/19/2012 10:55:21 PM
RE:Delete a culture
Hi We have two culture defined in our CMS (Actually we need one) and some documents has been created for both culture. We want to get rid of second culture so we need to delete all document with second culture. but it seems that it is not possible to delete one culture of document and keep the other!!
Any advice would be appreciated
Regards,
|
|
|
Kentico Support
|
kentico_radekm
-
2/20/2012 5:03:59 AM
RE:Delete a culture
Hello.
If you have some documents in both cultures and want to delete (un-assign) one culture version, you can do it in two steps.
1. In CMSDesk / Content / List mode, choose culture version and all documents you want to delete.
2. When no document of that culture exists on your site, you can un-assign given culture from your site in Site Manager / Sites / edit / Cultures tab.
Best Regards, Radek Macalik
|
|
|
Member
|
ahmad2x4-yahoo
-
2/21/2012 12:15:21 AM
RE:Delete a culture
OK Thanks it worked and I managed to remove second culture for all items under (root /).
BUT I think it doesn't work for root document because database says that my root document which is (DocumentPathName='/') has DocumentCulture='en-us' and I dont know how to delete this one from GUI???
Any advise appreciated.
Regards, Ahmad
|
|
|
Kentico Support
|
kentico_radekm
-
2/21/2012 1:55:35 AM
RE:Delete a culture
Hello.
Maybe the problem is that in List mode you can delete all child documents of root document, however not root itself (as it is parent of current selection). However, you can delete required culture version of your root document in CMSDesk directly.
Best Regards, Radek Macalik
|
|
|
Member
|
ahmad2x4-yahoo
-
2/22/2012 3:19:27 AM
RE:Delete a culture
Thanks,
Totally forgot that we can delete by using right click.
thanks again Ahmad
|
|
|
Member
|
positivepurchasing
-
5/11/2012 5:01:17 AM
RE:Delete a culture
Hi
I have the same problem.
I have deleted all the en-US culture documents using the list view method described above.
When I try to remove the en-US culture in Site Manager it still says 'The site contains some documents of culture 'en-US'. The culture cannot be unassigned.'
How to I sort this out?
Cheers
|
|
|
Kentico Support
|
kentico_radekm2
-
5/11/2012 5:27:09 AM
RE:Delete a culture
Hello.
Did you delete root document as well?
Best Regards, Radek Macalik
|
|
|
Member
|
positivepurchasing
-
5/11/2012 6:46:52 AM
RE:Delete a culture
No I haven't deleted the root document. If I delete the root document will all the site content be deleted as well?
|
|
|
Kentico Support
|
kentico_radekm2
-
5/11/2012 9:46:39 AM
RE:Delete a culture
Hello.
No, it will be not. Just the root document in given culture.
Best Regards, Radek Macalik
|
|
|
Member
|
positivepurchasing
-
5/11/2012 10:28:50 AM
RE:Delete a culture
OK, Thanks.
|
|
|
Member
|
positivepurchasing
-
7/17/2012 4:12:16 AM
RE:Delete a culture
It does not work. I try to remove the en-us culture but it always says there are still documents in the en-us culture. However there are not.
Just go in the database and delete the appriopriate row from the 'CMS_SiteCulture' table.
Which will stop anyone wasting their time.
|
|
|
Kentico Support
|
kentico_radekm2
-
7/19/2012 3:31:10 AM
RE:Delete a culture
Hello.
Just a technical note: direct action in DB should be always the last emergency option. If possible, an action should be always performed in UI or via API, to keep all possible dependencies.
In this case, you could see (just see, not modify) CMS_Document table to see which document still uses given culture version and find it in the content tree, or delete via API.
Best Regards, Radek Macalik
|
|