[xwiki-devs] Importing Translations pages failed
Hi All, we are trying to import our customized xar which contains files with name Space.Translations which are used for translations for different languages like english ,french and dutch , but the import is not able to pick up the translations files from the xar . The xar contains the Translation files but still they are not imported . The documents are mentioned in the section failed to import this following documents and it is listing the documents of the Translations . when we try to go to the failed documents it is directing us to XWiki.Translations page . e.g. if we have a pages Space.Translations (english) , Space.Translations (dutch) , Space.Translations (French) in the xar , after the import , these following documents are in the failed to import pages section , and when we tried to go to the page it is redirecting to XWiki.Translations page . is there something we need to do in order to import these translation files . can anyone help regarding this issue . Regards, Durga
On Thu, Feb 18, 2010 at 10:40, durgaprasad karri <[email protected]> wrote:
Hi All,
we are trying to import our customized xar which contains files with name Space.Translations which are used for translations for different languages like english ,french and dutch , but the import is not able to pick up the translations files from the xar . The xar contains the Translation files but still they are not imported .
The documents are mentioned in the section failed to import this following documents and it is listing the documents of the Translations .
when we try to go to the failed documents it is directing us to XWiki.Translations page .
e.g. if we have a pages Space.Translations (english) , Space.Translations (dutch) , Space.Translations (French) in the xar , after the import , these following documents are in the failed to import pages section , and when we tried to go to the page it is redirecting to XWiki.Translations page .
is there something we need to do in order to import these translation files . can anyone help regarding this issue .
Translations pages are supposed to be normal wiki page with translations has content so it's not supposed to have anything special. Could you look in your war if the files are proper XML wiki pages like the others ? How did you created the xar ? By doing a export from another wiki ?
Regards, Durga _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
-- Thomas Mortagne
Hello Durga, "customized xar" meaning you created the archive yourself rather than from an XWiki export? This is generally bad news, I had once tried it and then opted to use XMLRPC instead. That said, you have to make sure the contents of the xar are valid xml (meaning < > " ' & must be escaped) for the heading it's best to copy from another xar document. Make sure the documents are listed in package.xml and look at the logs from the wiki engine to see what errors your xar is creating. I think it's more realistic to just create the pages with a web browser or if you have a huge number, to use the XMLRPC or REST api to import them and let XWiki handle the hard part. see: http://platform.xwiki.org/xwiki/bin/view/Features/XMLRPC Thanks, Caleb James DeLisle durgaprasad karri wrote:
Hi All,
we are trying to import our customized xar which contains files with name Space.Translations which are used for translations for different languages like english ,french and dutch , but the import is not able to pick up the translations files from the xar . The xar contains the Translation files but still they are not imported .
The documents are mentioned in the section failed to import this following documents and it is listing the documents of the Translations .
when we try to go to the failed documents it is directing us to XWiki.Translations page .
e.g. if we have a pages Space.Translations (english) , Space.Translations (dutch) , Space.Translations (French) in the xar , after the import , these following documents are in the failed to import pages section , and when we tried to go to the page it is redirecting to XWiki.Translations page .
is there something we need to do in order to import these translation files . can anyone help regarding this issue .
Regards, Durga _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs
participants (3)
-
Caleb James DeLisle -
durgaprasad karri -
Thomas Mortagne