Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XPoll application is displayed in German when wiki language is set to French #74

Closed
lucaa opened this issue Oct 13, 2020 · 1 comment
Closed
Assignees
Milestone

Comments

@lucaa
Copy link

lucaa commented Oct 13, 2020

How to reproduce:

  • set the wiki language to French in the administration
  • install the XPoll application

Expected result:

  • the XPoll application is displayed in French

Actual result:

  • the XPoll application is displayed in German

image

@lucaa lucaa added this to the 2.0.3 milestone Oct 13, 2020
@lucaa
Copy link
Author

lucaa commented Oct 13, 2020

Since after install in the wiki itself the document with german text appears as having the french language and the "de" translation does not appear in the package.xml of the xar of the application, I suspect the cause to be the locale='fr' on this line https://github.com/xwikisas/application-xpoll/blob/master/application-xpoll-ui/src/main/resources/XPoll/Translation.de.xml#L23 .
I assume this is what makes the reference of the page (not the tag lower in this document), and this is why that file gets imported as the french translation.

@acotiuga acotiuga self-assigned this Oct 13, 2020
@acotiuga acotiuga changed the title XPoll application is displayed in german when wiki language is set to French XPoll application is displayed in German when wiki language is set to French Oct 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants