how to set up languages (English, French, etc.) in Docker#10940
Merged
Conversation
Also, explain that Payara must be restarted after loading langs.
stevenwinship
approved these changes
Oct 21, 2024
Member
Author
|
@ofahimIQSS as we discussed, below is the languages.zip file I created to work around the facet bug I mentioned: I added these lines: 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: |
Contributor
|
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 No issues found, merging PR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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:
Is there a release notes update needed for this change?:
Yes, included.
Additional documentation: