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

Update location of i18n.xql #18

Open
joewiz opened this issue Mar 1, 2017 · 1 comment
Open

Update location of i18n.xql #18

joewiz opened this issue Mar 1, 2017 · 1 comment
Assignees

Comments

@joewiz
Copy link
Member

joewiz commented Mar 1, 2017

According to http://exist-db.org/exist/apps/demo/examples/special/i18n-docs.html#configuration, also https://github.com/eXist-db/demo-apps/blob/master/examples/special/i18n-docs.html#L112 (see other locations on this page...), i18n.xql is located in /db/i18n/modules/i18n.xql. It is actually in /db/apps/demo/modules/i18n.xq - see https://github.com/eXist-db/demo-apps/blob/master/modules/i18n.xql.

@joewiz
Copy link
Member Author

joewiz commented Mar 14, 2017

@windauer @zwobit Is the code sample at https://github.com/eXist-db/demo-apps/blob/master/examples/special/i18n-docs.html#L110-L119 meant to be copied and pasted into someone's own app without changes? At the very least, the location of i18n.xql and the i18n data would need to be updated. Similarly, in the controller.xql code the path to /db/i18n/modules/view.xql at https://github.com/eXist-db/demo-apps/blob/master/examples/special/i18n-docs.html#L77-L94 would need to be updated.

Someone on the list mentioned this was confusing to them. Can you either update the code samples to point to the actual location of these files in the demo app, or add language saying that the user needs to copy these modules/data into their own application?

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