I am changing marketing emails to ampscript so there will be fewer steps in the future when editing emails across multiple languages.
The Data Extension this pulls from has subject lines in multiple languages. It pulls them correctly when I remove the "ELSE" statement below. However, I need a default English backup because my Data Extension does not identify every single country around the world.
The issue: I plug in this ampscript (example below). When I plug in the "ELSE" section below, ALL of the countries default to it. How do I set the "ELSE' statement to be secondary in the order of operations to the first Lookup section?
Here is example ampscript:
%%[
/*Define and set variables for Country*/
VAR @Country__c
SET @Country__c = [Country__c]
/*Lookup the subject line*/
VAR @Subject
IF NOT EMPTY (@Subject) THEN
SET @Subject = Lookup("Translated_Email1_DE","Subject","Country__c",@Country__c)
ELSE
SET @Subject = "Renew your subscription"
ENDIF
]%%
%%=v(@Subject)=%%