Repository navigation
Multilingual SK: SearchKit Export - #35782
Merged
Merged
Conversation
|
🤖 Thank you for contributing to CiviCRM! ❤️ We will need to test and review this PR. 👷 Introduction for new contributors...
Quick links for reviewers...
|
colemanw
reviewed
May 29, 2026
Member
|
@samuelsov this looks good... we'll also have to fix this for the |
colemanw
added a commit
to colemanw/civix
that referenced
this pull request
Jun 5, 2026
Settings should not be translated as of civicrm/civicrm-core#33901 See civicrm/civicrm-core#35782 for a similar patch to the Api4 Explorer. - Introduced `excludeTs()` method to PhpData for skipping translation wrapping on specified keys and their children. - Updated tests to verify exclusion behavior with nested and multiple keys.
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.
Overview
Follow-up on #33901 to fix the E::ts in the export for SK.
Before
Every title, label, description in SearchKit export
PHP + Localizationformat are exported usingE::ts()After
We don't do the
E::ts()treatment for fields that are in settings array.Comments
Eventually, everything will work with the new translation tables so we'll be able to drop the
E::tspart completely but we're not there yet.