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

how to set up languages (English, French, etc.) in Docker #10940

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

pdurbin
Copy link
Member

@pdurbin pdurbin commented Oct 18, 2024

What this PR does / why we need it:

Setting up languages is a little different in Docker. Some extra config and docs were needed. You can preview the new docs here: https://dataverse-guide--10940.org.readthedocs.build/en/10940/container/running/demo.html#multiple-languages

This PR is partially a response to https://dataverse.zulipchat.com/#narrow/channel/378866-troubleshooting/topic/translation.20not.20working/near/477393219 where @aialves indicated trouble with the docs. Overall, they seem fine, except for the need to restart Payara, which has now been added to both classic and containerized docs.

Which issue(s) this PR closes:

Special notes for your reviewer:

None

Suggestions on how to test this:

Follow the tutorial this PR updates.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

No but here's a fun screenshot of Dataverse in French:

Screenshot 2024-10-18 at 2 42 16 PM

Is there a release notes update needed for this change?:

Yes, included.

Additional documentation:

Also, explain that Payara must be restarted after loading langs.
@pdurbin pdurbin added Component: Containers Anything related to cloudy Dataverse, shipped in containers. Size: 3 A percentage of a sprint. 2.1 hours. labels Oct 18, 2024
@stevenwinship stevenwinship self-assigned this Oct 21, 2024
@pdurbin
Copy link
Member Author

pdurbin commented Oct 21, 2024

@ofahimIQSS as we discussed, below is the languages.zip file I created to work around the facet bug I mentioned:

languages.zip

I added these lines:

pdurbin@beamish languages % tail -1 staticSearchFields.properties        
staticSearchFields.datasetType=Dataset Type
pdurbin@beamish languages % tail -1 staticSearchFields_fr.properties
staticSearchFields.datasetType=Type de ensemble de donn?es

Details about the facet bug are in the Slack conversation at https://iqss.slack.com/archives/C03R1E7T4KA/p1729261715214779

I also opened this issue asking the lang packs folks to update to to 6.4:

@ofahimIQSS ofahimIQSS self-assigned this Oct 21, 2024
@ofahimIQSS
Copy link
Contributor

ofahimIQSS commented Oct 21, 2024

Followed the guide starting from Quickstart down to Multiple Languages (English & French) - verified that French was an option on the subnav, once selected, displays pages with French translation.

Note: Used Phil's language.zip file to test this
Testing of 10926.docx

No issues found, merging PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Containers Anything related to cloudy Dataverse, shipped in containers. Size: 3 A percentage of a sprint. 2.1 hours.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

support multiple languages in Dockerized dev env
3 participants