feat: add enterprise default language in braze campaigns#866
Open
muhammad-ammar wants to merge 1 commit intomasterfrom
Open
feat: add enterprise default language in braze campaigns#866muhammad-ammar wants to merge 1 commit intomasterfrom
muhammad-ammar wants to merge 1 commit intomasterfrom
Conversation
dbf60b5 to
79755c5
Compare
irfanuddinahmad
approved these changes
Jan 27, 2026
79755c5 to
138e914
Compare
138e914 to
fe2f601
Compare
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.
Description
This PR adds support for passing the enterprise customer’s default language to Braze email campaigns. This value is used to select localized content for license assignment, reminder, and activation emails.
Summary: Passing Enterprise Default Language to Braze
Context
License manager triggers multiple Braze campaigns and sends user data via the Braze API (
user_alias,attributes,trigger_properties). We need to include an enterprise default language to support localized messaging without impacting users’ personal language preferences.Option 1: Send
default_languageas a user attribute (pref-lang)Pros
Cons
Option 2: Send
default_languageviatrigger_propertiesPros
Cons
Recommended Approach
Use
trigger_propertiesto passenterprise_default_language.Language Resolution Logic (Braze Liquid)
en)Example:
{% assign lang = custom_attribute.${language} | default: trigger_properties.enterprise_default_language | default: "en" %}This logic can be reused across templates, content blocks, and subjects to minimize duplication.
Implementation Strategy
enterprise_default_languageto Brazetrigger_propertiesPost-review
Squash commits into discrete sets of changes