Hi
I have a couple of questions.
1) in XWiki.XWikiPreferences > parameters > language, can I add many
languages separated by a comma (such as "fr,en")? (My default language is
"en".)
Still don't know... :(
2) I have a page that shows "en"
"en" and "fr" on top (I run a pre-1.0
version, more on that later). Exploring MySQL DB shows effectively 3
documents:
mysql> select XWD_ID, XWD_LANGUAGE, XWD_TRANSLATION, XWD_DEFAULT_LANGUAGE
from xwikidoc where XWD_NAME='WebHome' AND XWD_WEB='Main';
+------------+--------------+-----------------+----------------------+
| XWD_ID | XWD_LANGUAGE | XWD_TRANSLATION | XWD_DEFAULT_LANGUAGE |
+------------+--------------+-----------------+----------------------+
| 1807025832 | fr | 1 | |
| 1807025797 | en | 1 | |
| -114121954 | | 0 | en |
+------------+--------------+-----------------+----------------------+
The only one I care about is the French (fr) one. I could easily delete
the other two to start with. How can I fix this?
Is is enough to delete all three rows and start over from XWiki('s
interface)?
Ok. After some digging I got lucky and I found a JIRA entry with a nice
explanation from Sergiu:
http://jira.xwiki.org/jira/browse/XWIKI-181 .
For the record, I deleted the first 2 documents as you should know that a
1 in XWD_TRANSLATION means it is not the "main" document but a
translation. I just had to copy back my info et voila!
It would really be helpful if the datamodel were documented somewhere (so
that Sergiu could do something else than repeat the same things over and
over...). Just my 0.02$.
_______________________________________________
users mailing list
users(a)xwiki.org
http://lists.xwiki.org/mailman/listinfo/users