Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to set a value in Velocity $i18n?

Is there a setText() or something like method for setting velocity values in vm.

To get for example: $i18n.getText("plugin.license.valid")

What about set?

Thanks

1 answer

Are you talking about setting a variable name?

#set ($somevar = "Some Value")

No, I mean a value in a properties file.

In properties file, I have: plugin.license.valid=false

I want to set it to true. Is it possible? :)

You will have to change it in properties. You can't change it dynalically :)

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Agile

Join us LIVE: Atlassian & Experts Talk Research & Insights @ Scale

Hello all! What have you learned from your customers lately? Our live-streamed series continues by exploring CX, UX, and the power of research & insights at scale with Leisa Reichelt, Head of R...

484 views 3 10
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you