-
Notifications
You must be signed in to change notification settings - Fork 21
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
Closes #2361 - Add multilingual support #2390
Conversation
Co-authored-by: Joe Parsons <[email protected]>
Co-authored-by: Joe Parsons <[email protected]>
modules/custom/az_multilingual/quickstart/language.content_settings.path_alias.path_alias.yml
Outdated
Show resolved
Hide resolved
modules/custom/az_multilingual/quickstart/language.content_settings.redirect.redirect.yml
Outdated
Show resolved
Hide resolved
This “needs work” documentation says you can translate the menu? |
Overall, I think this looks good and will be a great addition to quickstart. |
Per the last meeting, we have chosen to enable the Splitscreen module by default, which also eliminates the dependency issue upon install of |
Have you seen this issue: https://www.drupal.org/project/linkit/issues/2886455 |
Content admin role is additive Co-authored-by: Chris Green <[email protected]>
...les/custom/az_multilingual/config/install/language.content_settings.paragraph.az_contact.yml
Outdated
Show resolved
Hide resolved
modules/custom/az_multilingual/config/install/language.content_settings.paragraph.az_cards.yml
Outdated
Show resolved
Hide resolved
...es/custom/az_multilingual/config/install/language.content_settings.node.az_flexible_page.yml
Outdated
Show resolved
Hide resolved
…_settings.paragraph.az_contact.yml Co-authored-by: Chris Green <[email protected]>
…_settings.node.az_flexible_page.yml Co-authored-by: Chris Green <[email protected]>
…_settings.paragraph.az_cards.yml Co-authored-by: Chris Green <[email protected]>
In some testing locally it looks like cards do work with translations when configured by hand - it looks like the issue may be similar to what you noticed about the page content type, where some information about selected fields isn't seemingly represented in the |
Need to take a look at the full archive rather than single export on the config: |
Tested this on the quickstart.arizona.edu website as a pantheon multi-dev from the live version.
After enabling the module, I got this. Then I enabled the "Language switcher" block and added it to the Content top region. After that, I began translating the front page to Spanish. But got the fun error about using links that I don't have access to. This error was in reference to cards, which I didn't know, and Ashley revealed to me. I was initially confused because I hadn't edited those links. However, once I knew what the issue was, I was able to quickly get around it by editing those links. I think it could be considered a feature, if instead of erroring because of access, it said that there is not a Spanish translation for those pages. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did some quick testing on a Pantheon multidev and did not encounter any issues.
Description
Adds multilingual functionality to QS.
Closes #2361
Review site: https://7b5e2985-cedf-4a13-ab91-3a35916c835d--pr-2390.probo.build/
Documentation has been added here, in addition to the module's README: https://quickstart.arizona.edu/create-content/translating-content?review=GQqaA9fjvtV--KB5sj6zL3wBPc8h6JhfXNPuVo5rk7U
User role changes:
content admin
can install languages on the sitecontent editor
can make content translationsGeneral Additions
.btn-dark
styling to visually differentiate it from normal buttons [red/blue/white] on the site)How to test
Enabling the Masquerade module will make testing faster.
As an
azadmin
:az_multilingual
module.As an
azcontentadmin
:As an
azcontenteditor
:az_content_admin
).Types of changes
Arizona Quickstart (install profile, custom modules, custom theme)
Drupal core
Drupal contrib projects
Checklist