[xwiki-users] Original translation
Sergiu Dumitriu
sergiu at xwiki.com
Sat May 2 18:17:23 CEST 2009
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/
More information about the users
mailing list