Monday 07 May 2007 6:57:53 pm
Here I am answering my own questions again. After a fair bit of messing about, here's what to do...
<b>Context</b> The benefit of removing unnecessary languages and having only the main one is that there is no select box or step for choosing translations when creating a new object. However this is not possible in a basic install of EZ 3.9.2 (+ezweb 1.2) because there are objects with translations. This process explains how to find the unwanted objects with translations ... the objects that must be removed before the language can be removed from EZ Publish (ie via admin /setup/languages).
<b>Steps</b> 1. Examine your ez database with phpmyadmin (or similar). Do a query to find objects with translations. For example:
SELECT * FROM `ezcontentobject_name` where `content_translation`="ger-DE"
&/or SELECT * FROM `ezcontentobject_name` where `content_translation`="nor-NO" 2. The results of this query will show the names of objects that have (german) translations. In the admin interface, navigate to these objects and remove their translations. 3. (Repeat steps 1 and 2 for all unwanted languages, leaving only your main site language). 4. In the admin interface /setup/languages remove the unwanted languages. You now have an ez publish site that does not come up with unwanted translation drop box and step in object creation.
|