[xwiki-users] Cannot translate page in xwiki-1.1.1
Hi all, while testing the translation feature with the new xwiki-1.1.1.5166 release I bumped into the following problem: Xwiki saves the translation of a page in the default language, regardless of the language I have selected to translate to in edit mode. As a consequence the default translation has been overwritten and no additional translation has been shown in the top-right info panel. For the test environment I've imported the xwiki-enterpise-1.1.1.xar into a naked standalone xwiki installation an configured it with three languages (de, en, fr) and de as default language on the global preferences page. I use the firefox2 as browser. Her are the detailed steps to reproduce ths problem: (1) Create new page (2) Edit this page in the default laguage and save&view it (3) press "Edit"again an select a different langauage in the translation panel => The panel shows that the translation of the selected language is now beeing edited (4) Translate the page and save&view it => no additional translation shows up and the default translation has been overwritten. Am I missing here something or is this a bug? Thanks a lot for helping me out on this. Steffen
Hi, I have the same problem (same firefox browser, but also tried with IE 7.0) with XWiki version 1.2-milestone-1.5235 and I am also not sure whether I am missing something or if this is a bug. Maybe someone could give a hint? Thank you in advance! Robert PS: I found the following references in the documentation: * http://www.xwiki.org/xwiki/bin/view/UserGuide/I18N * http://www.xwiki.org/xwiki/bin/view/DevGuide/InternationalizingApplications Steffen.Balzer wrote:
Hi all,
while testing the translation feature with the new xwiki-1.1.1.5166 release I bumped into the following problem: Xwiki saves the translation of a page in the default language, regardless of the language I have selected to translate to in edit mode. As a consequence the default translation has been overwritten and no additional translation has been shown in the top-right info panel. For the test environment I've imported the xwiki-enterpise-1.1.1.xar into a naked standalone xwiki installation an configured it with three languages (de, en, fr) and de as default language on the global preferences page. I use the firefox2 as browser.
Her are the detailed steps to reproduce ths problem:
(1) Create new page (2) Edit this page in the default laguage and save&view it (3) press "Edit"again an select a different langauage in the translation panel => The panel shows that the translation of the selected language is now beeing edited (4) Translate the page and save&view it => no additional translation shows up and the default translation has been overwritten.
Am I missing here something or is this a bug?
Thanks a lot for helping me out on this. Steffen _______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://www.nabble.com/Cannot-translate-page-in-xwiki-1.1.1-tf4645706.html#a1... Sent from the XWiki- Users mailing list archive at Nabble.com.
Robert Reiner wrote:
Hi,
I have the same problem (same firefox browser, but also tried with IE 7.0) with XWiki version 1.2-milestone-1.5235 and I am also not sure whether I am missing something or if this is a bug.
Maybe someone could give a hint?
Thank you in advance!
Robert
PS: I found the following references in the documentation: * http://www.xwiki.org/xwiki/bin/view/UserGuide/I18N * http://www.xwiki.org/xwiki/bin/view/DevGuide/InternationalizingApplications
Just to confirm this behaviour with 1.2-milestone-1.5235 but without an answer or a JIRA issue on this. Cheers, -- Ricardo Rodríguez Your XEN ICT Team
I have the same problem, I think I have found the problem. If you change the hidden field 'language' en the form 'edit' to the language you want. Everything goes well. The way I am doing it is with firebug on Firefox. I can probably download the source code and submit a patch but it could take a while for me to understand to source code. I have create a JIRA bug at http://jira.xwiki.org/jira/browse/XEM-63 I hope this help Mathieu Ricardo Rodríguez wrote:
Robert Reiner wrote:
Hi,
I have the same problem (same firefox browser, but also tried with IE 7.0) with XWiki version 1.2-milestone-1.5235 and I am also not sure whether I am missing something or if this is a bug.
Maybe someone could give a hint?
Thank you in advance!
Robert
PS: I found the following references in the documentation: * http://www.xwiki.org/xwiki/bin/view/UserGuide/I18N * http://www.xwiki.org/xwiki/bin/view/DevGuide/InternationalizingApplications
Just to confirm this behaviour with 1.2-milestone-1.5235 but without an answer or a JIRA issue on this.
Cheers,
-- Ricardo Rodríguez Your XEN ICT Team
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://www.nabble.com/Cannot-translate-page-in-xwiki-1.1.1-tf4645706.html#a1... Sent from the XWiki- Users mailing list archive at Nabble.com.
Mathieu Dupuis wrote:
I have the same problem,
I think I have found the problem. If you change the hidden field 'language' en the form 'edit' to the language you want. Everything goes well.
The way I am doing it is with firebug on Firefox. I can probably download the source code and submit a patch but it could take a while for me to understand to source code.
I have create a JIRA bug at http://jira.xwiki.org/jira/browse/XEM-63
I hope this help
Mathieu Hi, Mathieu,
I am trying to do the same while working with XWiki 1.2-milestone-1.5235 and I keep getting the default page modified instead of a new translated version. Even more: although I've set up a language other than English as default language, any new document I create as it were in English. Please, what fields' value do you modified and where? <meta content="en" name="language"/> and <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">? Thanks! Cheers, -- Ricardo Rodríguez Your XEN ICT Team
AFAIK this was fixed for 1.2M2 and 1.1.2. Would be good if one of you could verify it works fine in the new version to be released. You can find nightly builds at http://maven.xwiki.org/releases/. I've also added more detailed links on the download page at: http://www.xwiki.org/xwiki/bin/view/Main/Download Thanks! -Vincent On Nov 4, 2007, at 8:02 PM, Your XEN ICT Team - Ricardo Rodriguez wrote:
Mathieu Dupuis wrote:
I have the same problem,
I think I have found the problem. If you change the hidden field 'language' en the form 'edit' to the language you want. Everything goes well.
The way I am doing it is with firebug on Firefox. I can probably download the source code and submit a patch but it could take a while for me to understand to source code.
I have create a JIRA bug at http://jira.xwiki.org/jira/browse/XEM-63
I hope this help
Mathieu Hi, Mathieu,
I am trying to do the same while working with XWiki 1.2- milestone-1.5235 and I keep getting the default page modified instead of a new translated version.
Even more: although I've set up a language other than English as default language, any new document I create as it were in English.
Please, what fields' value do you modified and where? <meta content="en" name="language"/> and <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">?
Thanks!
Cheers,
Vincent Massol wrote:
AFAIK this was fixed for 1.2M2 and 1.1.2.
Would be good if one of you could verify it works fine in the new version to be released.
You can find nightly builds at http://maven.xwiki.org/releases/. I've also added more detailed links on the download page at: http://www.xwiki.org/xwiki/bin/view/Main/Download
Thanks! -Vincent Sorry for this question, Vicent, but until I am not able to understand POM's magic, please, where could I find, let's say, the *.war file corresponding to the last XE 1.2 build done today at 22:09?
Thanks!!! -- Ricardo Rodríguez Your XEN ICT Team
On Nov 4, 2007, at 10:39 PM, Your XEN ICT Team - Ricardo Rodriguez wrote:
Vincent Massol wrote:
AFAIK this was fixed for 1.2M2 and 1.1.2.
Would be good if one of you could verify it works fine in the new version to be released.
You can find nightly builds at http://maven.xwiki.org/releases/. I've also added more detailed links on the download page at: http://www.xwiki.org/xwiki/bin/view/Main/Download
Thanks! -Vincent Sorry for this question, Vicent, but until I am not able to understand POM's magic, please, where could I find, let's say, the *.war file corresponding to the last XE 1.2 build done today at 22:09?
I was fearing that the instructions would be too generic but I'm curious to know what you were not able to understand so that I can add it to the instructions. If you go in http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-web-standard/ you'll find 2 directories, one called 1.1-SNAPSHOT and one called 1.2-SNAPSHOT. They correspond to the versions being built. Then once you're in one of these directories you have direct access to the WAR files, named with the date. The last version that was uploaded is this one (I found this by looking at the dates): http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-web-standard/1... Just realized the build is currently failing because one maven plugin cannot be downloaded anymore from a remote repo. Need to fix this. Thanks -Vincent
Vincent Massol wrote:
I was fearing that the instructions would be too generic but I'm curious to know what you were not able to understand so that I can add it to the instructions.
If you go in http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-web-standard/ you'll find 2 directories, one called 1.1-SNAPSHOT and one called 1.2-SNAPSHOT. They correspond to the versions being built. Then once you're in one of these directories you have direct access to the WAR files, named with the date.
The last version that was uploaded is this one (I found this by looking at the dates): http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-web-standard/1...
Just realized the build is currently failing because one maven plugin cannot be downloaded anymore from a remote repo. Need to fix this.
Thanks -Vincent
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/user
Thanks, Vincent, I was simply looking for the file in the wrong location (I was here http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise/ instead of here the right platform place) I thought it was clear to me how downloadable files are organized, but the new #info frame has stressed my lack of understanding. Or could it be possible that the first entry in the Download TOC, XWiki Enterprise, and the the first in the #info frame, XWiki Enterprise files, are a bit confusing. Wouldn't you expect to find the Platform Standard WAR under XWiki Enterprise files? It is for sure that for any developer this is clear enough, but I am not so sure for simple users like me myself. (Of course, it is pretty advisable that such an user keeps away nightly builds! :-) Coming back ASAP with news on the translation issue. Cheers, -- Ricardo Rodríguez Your XEN ICT Team
On Nov 5, 2007, at 2:06 PM, Your XEN ICT Team - Ricardo Rodriguez wrote:
Vincent Massol wrote:
I was fearing that the instructions would be too generic but I'm curious to know what you were not able to understand so that I can add it to the instructions.
If you go in http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-web-standard/ you'll find 2 directories, one called 1.1-SNAPSHOT and one called 1.2-SNAPSHOT. They correspond to the versions being built. Then once you're in one of these directories you have direct access to the WAR files, named with the date.
The last version that was uploaded is this one (I found this by looking at the dates): http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-web-standard/1...
Just realized the build is currently failing because one maven plugin cannot be downloaded anymore from a remote repo. Need to fix this.
Thanks -Vincent
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/user
Thanks, Vincent,
I was simply looking for the file in the wrong location (I was here http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise/ instead of here the right platform place)
I thought it was clear to me how downloadable files are organized, but the new #info frame has stressed my lack of understanding. Or could it be possible that the first entry in the Download TOC, XWiki Enterprise, and the the first in the #info frame, XWiki Enterprise files, are a bit confusing. Wouldn't you expect to find the Platform Standard WAR under XWiki Enterprise files?
It is for sure that for any developer this is clear enough, but I am not so sure for simple users like me myself. (Of course, it is pretty advisable that such an user keeps away nightly builds! :-)
I think what's missing is what I'm working on: a new xwiki.org that clearly separates the Platform from the products (XE, XEM, Watch, etc) and that explains what each does. This new xwiki.org should be up within 1 month.
Coming back ASAP with news on the translation issue.
Cool Thanks -Vincent
What I changed is the language hidden field in the edit page. http://localhost:8080/xwiki/bin/edit/Main/WebHome?editor=wysiwyg&language=fr <input type="hidden" name="template" value="" /> <input type="hidden" name="xcontinue" value="/xwiki/bin/edit/Main/WebHome?editor=wysiwyg"/> <input type="hidden" name="xredirect" value="" /> <input type="hidden" name="language" value="en" /> I change the value="en" to wathever new translation I want. (fr for my test) Mathieu Ricardo Rodríguez wrote:
Mathieu Dupuis wrote:
I have the same problem,
I think I have found the problem. If you change the hidden field 'language' en the form 'edit' to the language you want. Everything goes well.
The way I am doing it is with firebug on Firefox. I can probably download the source code and submit a patch but it could take a while for me to understand to source code.
I have create a JIRA bug at http://jira.xwiki.org/jira/browse/XEM-63
I hope this help
Mathieu Hi, Mathieu,
I am trying to do the same while working with XWiki 1.2-milestone-1.5235 and I keep getting the default page modified instead of a new translated version.
Even more: although I've set up a language other than English as default language, any new document I create as it were in English.
Please, what fields' value do you modified and where? <meta content="en" name="language"/> and <html lang="en" xml:lang="en" xmlns="http://www.w3.org/1999/xhtml">?
Thanks!
Cheers,
-- Ricardo Rodríguez Your XEN ICT Team
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://www.nabble.com/Cannot-translate-page-in-xwiki-1.1.1-tf4645706.html#a1... Sent from the XWiki- Users mailing list archive at Nabble.com.
I have test the last daily build and it's now working. Thanks, Mathieu vmassol wrote:
On Nov 5, 2007, at 2:06 PM, Your XEN ICT Team - Ricardo Rodriguez wrote:
Vincent Massol wrote:
I was fearing that the instructions would be too generic but I'm curious to know what you were not able to understand so that I can add it to the instructions.
If you go in http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-web-standard/ you'll find 2 directories, one called 1.1-SNAPSHOT and one called 1.2-SNAPSHOT. They correspond to the versions being built. Then once you're in one of these directories you have direct access to the WAR files, named with the date.
The last version that was uploaded is this one (I found this by looking at the dates): http://maven.xwiki.org/snapshots/com/xpn/xwiki/platform/xwiki-web-standard/1...
Just realized the build is currently failing because one maven plugin cannot be downloaded anymore from a remote repo. Need to fix this.
Thanks -Vincent
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/user
Thanks, Vincent,
I was simply looking for the file in the wrong location (I was here http://maven.xwiki.org/snapshots/com/xpn/xwiki/products/xwiki-enterprise/ instead of here the right platform place)
I thought it was clear to me how downloadable files are organized, but the new #info frame has stressed my lack of understanding. Or could it be possible that the first entry in the Download TOC, XWiki Enterprise, and the the first in the #info frame, XWiki Enterprise files, are a bit confusing. Wouldn't you expect to find the Platform Standard WAR under XWiki Enterprise files?
It is for sure that for any developer this is clear enough, but I am not so sure for simple users like me myself. (Of course, it is pretty advisable that such an user keeps away nightly builds! :-)
I think what's missing is what I'm working on: a new xwiki.org that clearly separates the Platform from the products (XE, XEM, Watch, etc) and that explains what each does.
This new xwiki.org should be up within 1 month.
Coming back ASAP with news on the translation issue.
Cool
Thanks -Vincent
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://www.nabble.com/Cannot-translate-page-in-xwiki-1.1.1-tf4645706.html#a1... Sent from the XWiki- Users mailing list archive at Nabble.com.
Mathieu Dupuis wrote:
What I changed is the language hidden field in the edit page. http://localhost:8080/xwiki/bin/edit/Main/WebHome?editor=wysiwyg&language=fr
<input type="hidden" name="template" value="" /> <input type="hidden" name="xcontinue" value="/xwiki/bin/edit/Main/WebHome?editor=wysiwyg"/> <input type="hidden" name="xredirect" value="" /> <input type="hidden" name="language" value="en" />
I change the value="en" to wathever new translation I want. (fr for my test)
Mathieu
Thanks, Mathieu, 1.2-SNAPSHOT.5607 seems to work fine, have you tried it? (please, see my previous post in this thread). Let's see what Vicent and others think about how the default language is used. Cheers, Ricardo -- Ricardo Rodríguez Your XEN ICT Team
Vincent Massol wrote:
I think what's missing is what I'm working on: a new xwiki.org that clearly separates the Platform from the products (XE, XEM, Watch, etc) and that explains what each does.
This new xwiki.org should be up within 1 month.
This XWiki stuff is doing me to enjoy computing for the first time in years! It will be great to see a new xwiki.org thing in a month time!
Coming back ASAP with news on the translation issue.
Cool
Thanks -Vincent
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
As for the translation issue. Please, consider this behaviour: Once created a new document in a multilingual installation, the translation seems to work fine. What I've not clear is what language must be used as default. If you are reading an English document and create a new one, it will be created in English. But if you are reading its Spanish release and create a new one, it will be created in Spanish whatever the Default Language is set to. I don't know if this is the expected behaviour, but perhaps I would prefer the create new document button always creates documents in the default language. This way we can warn users: "this is XWiki site using English as default language, please, use the Translations menu if you intend to create a page in a different language" Does it make sense for you? Is it worth to move this to a JIRA Issue? Thanks! By the way, I've only play a bit with the new release, but I've gone to the XWiki/XWikiPreferences page and find this content: To edit preferences, please use the edit preferences item from the "More Actions" menu. Please, where is the "More Actions" menu? The previous 1.2M1 reads: To edit preferences, please use the Administration page Thanks again! Cheers, -- Ricardo Rodríguez Your XEN ICT Team
participants (5)
-
Mathieu Dupuis -
Robert Reiner -
Steffen.Balzer@it-informatik.de -
Vincent Massol -
Your XEN ICT Team - Ricardo Rodriguez