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

Need Installation Documentation (anything would help) #22

Closed
david-lareau-nrc opened this issue May 27, 2019 · 7 comments
Closed

Need Installation Documentation (anything would help) #22

david-lareau-nrc opened this issue May 27, 2019 · 7 comments

Comments

@david-lareau-nrc
Copy link

the README.md says "API Documentation for deploying language files is still under development". Any example would be greatly appreciated.

After reading the documentation at http://guides.dataverse.org/en/latest/installation/config.html
I tried the following but I get a server internal error.

My version of dataverse is v. 4.14 build 1326-57a392d

Step 1)

curl http://localhost:8080/api/admin/settings/:Languages -X PUT -d '[{  "locale":"en", "title":"English"},  {  "locale":"fr", "title":"Français"}]'

I can now see the toggle button in the navbar (though it is not functional yet).

Step 2)

cd /var/www/dataverse
git clone https://github.com/GlobalDataverseCommunityConsortium/dataverse-language-packs.git
git checkout --track origin/dataverse-v4.14
./asadmin create-jvm-options '-Ddataverse.lang.directory=/var/www/dataverse/dataverse-language-packs'

When loading any page I get
java.util.MissingResourceException: Can't find bundle for base name Bundle, locale en

I verified that all permissions are indeed rwxr-xr-x. Anything obvious that I'm doing wrong? Do I have to move the language pack in docroot of glasshfish?

@david-lareau-nrc
Copy link
Author

Just saw that the opened issue "How to Help Translate Dataverse Into Your Language" is more about how to install than translate, so my question is a dupe. Closing.

@JayanthyChengan
Copy link
Collaborator

@4tikhonov
Copy link
Collaborator

@david-lareau-nrc, thanks for trying this functionality! We're going to try Weblate localization tool to keep all language packages up-to-date.

@bikramj
Copy link
Collaborator

bikramj commented May 30, 2019

We at Scholars Portal are testing translations management with Weblate and Mojito, just testing which one is easier to use and integrate with the workflow. we have local installations of both.

@4tikhonov
Copy link
Collaborator

@bikramj, great to hear! Can you share your insights which one is easier?

@bikramj
Copy link
Collaborator

bikramj commented May 30, 2019

@4tikhonov, Mojito is really simple to install and use whereas Weblate offers a lot more functionality. I am still testing Weblate and will post my findings here in few days.

@pdurbin
Copy link
Member

pdurbin commented Jun 14, 2019

Just saw that the opened issue "How to Help Translate Dataverse Into Your Language" is more about how to install than translate, so my question is a dupe. Closing.

@david-lareau-nrc actually my intended audience for #10 was translators so I do think we should consider either reopening this issue for a sysadmin audience. (I don't have the power to reopen issues here.)

@bikramj do you still want to use https://jenkins.dataverse.org for anything? All the config is at https://github.com/IQSS/dataverse-jenkins and I'm happy to work with you and others to add as many jobs as we need. I just made a similar offer to @4tikhonov over at #26 (comment) (about Weblate, by the way).

I am still testing Weblate and will post my findings here in few days.

A dedicated issue about Weblate might be nice. I imagine that both audiences I'm talking about (translators and sysadmins) would be interested in the percentage translation of their languages of interest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants