Gerritjan Koekkoek wrote: > Hi, > > THx for the help. > For me the option to remove the whole document worked best > I followed following procedure; > - Edit in the WIKI editor... > - Copy Content to a text-editor (for each translation, already in the > system > - Action, Delete Document and really delete... > - Go to page where a link to deleted document sits. > - Create document (default language is now correct) > - Copy Content from text editor into WIKI editor and Save (For each > translation)
If you want to reduce the risk of this happening again, depending on how recent you XWiki is, there is an option you can enable in xwiki.cfg: xwiki.language.forceSupported=1 Then, you can configure a list of languages that your wiki supports in the Administration->General->Languages, and the wiki will force one of these languages to be used. > On 2 mei 2009, at 18:17, Sergiu Dumitriu wrote: > >> Gerritjan Koekkoek wrote: >>> HI, >>> >>> I have a page that should be readable for multiple translations. >>> Currently it has a translation 'en' (for english) which is the >>> default >>> for the xwiki. >>> The problem is that it also claims that the original version is >>> '.' (this page is empty) >>> >>> 1) How can such a 'original' version have been created? (to prevent >>> it) >> No idea. I've never seen this so far. >> >>> 2) How can I remove this version, so the 'en' version is seen as the >>> original >> In older versions of XWiki (pre-1.0) there was an input for specifying >> the default language. Now, you can only access that property if you >> know >> how. Try visiting this URL: >> >> /xwiki/bin/save/Your/Document?default_language=en >> (replace Your/Document with the real document name). However, this may >> create a ghost, since it renames the language of the default document, >> while also leaving the existing en translation in place. So you have 3 >> choices: >> >> - do this rename and live with the ghost >> - do nothing and live with the fake default >> - copy data from the en translatio to the default ".", then delete the >> en translation and rename the default_language >> - remove the whole document and recreate it from scratch >> >> You should make a backup of your data first, if it is important. >> >>> 3) Or is the '.' original 'good' behaviour? >> No, that's not good at all. -- Sergiu Dumitriu http://purl.org/net/sergiu/ _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
