Language negotiation fixes for Skosmos 3 #1458
Merged
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.
Reasons for creating this PR
Fixes and unit tests for language negotiation were applied to the
master
branch in PR #1457. This PR applies the same fixes to theskosmos-3
branch. The commits have been cherry-picked and adapted to current Skosmos 3 PHP code style.Link to relevant issue(s), if any
Description of the changes in this PR
(copied from PR #1457)
willdurand/negotiation
from 3.0.* to 3.1.* because only 3.1 is compatible with PHP 8.1in_array
(from PR UI language negotiation fix #1455)skosmos:languages
settings in the sample configs for Docker (from PR UI language negotiation fix #1455)Known problems or uncertainties in this PR
n/a
Checklist
.sr-only
class, color contrast)