Publisher does not support the Fluid field type. Please do not contact asking when support will be available.

If you purchased an add-on from expressionengine.com, be sure to visit boldminded.com/claim to add the license to your account here on boldminded.com.

Ticket: Phrase names - dashes replaced by underscores

Status Resolved
Add-on / Version Publisher 1.6.5
Severity
EE Version 2.10.1

Janine Dalton

Aug 14, 2015

On the manage phrase screen under phrase name it says “Single word, no spaces. Underscores and dashes allowed”.
However, if I include a dash in a phrase name, it gets replaced by an underscore on save.

Is there any way to stop this? I need to use dashes if possible, because I want to reference phrase names dynamically based on URL segments which contain dashes e.g.

{exp:publisher:translate_phrase name="tagline_{segment_1}”}

[I’m using the module tag because {tagline_{segment_1}} won’t parse.]

Thanks for your time,
Janine.

#1

BoldMinded (Brian)

Comment has been marked private.

#2

Janine Dalton

Comment has been marked private.

#3

BoldMinded (Brian)

Comment has been marked private.

#4

BoldMinded (Brian)

Comment has been marked private.

#5

Janine Dalton

Brilliant - that build works. Many thanks for this Brian, particularly the quick turnaround on this - much appreciated.

#6

Janine Dalton

Comment has been marked private.

#7

BoldMinded (Brian)

Yeah, the 3rd version fixes something else that you probably aren’t seeing on the Entry publish page, but I saw in some quick testing.

Login to reply