(dev/core#4409) Fix failure to fall back to site default language, if configured #26785
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.
Overview
Fix failure to fall back to site default language, if configured
This addresses scenario 6 here
#26232 (comment)
Before
When a site default language translation is configured it is used in some sceanrios but not others - the detailed description at
#26232 (comment) is the best way to understand this
After
A translaiton for the site default language is always used, if configured.
Technical Details
This addresses a gap identified in the previous PR. I have put it against the rc as the previous PR hit that branch & it feels less confusing if this does too. It is also low risk of having impact outside the specific scenario
I'm still looking at the point re styling
Comments
@totten can you take a look - note that for testing this extension https://github.com/eileenmcnaughton/send_message_action is helpful - it adds a send_workflow action where you can see how the offline contribution receipt or invoice would display