Giter Club home page Giter Club logo

Comments (5)

BobRay avatar BobRay commented on June 28, 2024

I'm afraid I don't understand your issue.

from activationemail.

MikeMichel avatar MikeMichel commented on June 28, 2024

If i put [[%subject]] into the activeSubject field the subject in the emai is [[%subject]] instead of the translated value of the lexicon entry.

from activationemail.

BobRay avatar BobRay commented on June 28, 2024

Ah, try this -- edit the Plugin and on the "Properties" tab, scroll down and check "Pre-process tags in Property Values". Save the plugin

It may not work as you want, though, because the snippet won't know what language you want. You can specify the language in the tag: [[%subject? &language=es]], but if you want multiple languages, I can't think of any way to accomplish it.

You're in the Manager context when you activate a user, so if your language feature is context-dependent, there's no way for a plugin to know which language you want unless you can use the cultureKey or manager_language System Settings, in which case you'd want to add something like this to the tag: &language=[[++cultureKey]]

from activationemail.

MikeMichel avatar MikeMichel commented on June 28, 2024

right, tried [[%subject? &language=[[*context_key]]]] but no luck.

thx anyway

from activationemail.

BobRay avatar BobRay commented on June 28, 2024

I'm sorry it didn't work out.Did you put the context_key tag in back-ticks (they don't show up well here). I probably won't matter, but it's worth a try.

[[%subject? &language=[[*context_key]] ]]

from activationemail.

Related Issues (6)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.