I've got a HTML template which should apply certain content based on the language version. For "pl-PL" a polish version and for any other english. Now, I'm passing language parameter in report request. I've written simple handlebars helper:
From what I've read, the Handlebars is case sensitive and .net serializes boolean values with first capital letter first, but I do not have a clue how to overcome it.
I've got a HTML template which should apply certain content based on the language version. For "pl-PL" a polish version and for any other english. Now, I'm passing language parameter in report request. I've written simple handlebars helper:
The helper returns correct value, but Handlebars does not interpret it correctly:
After rendering it shows:
From what I've read, the Handlebars is case sensitive and .net serializes boolean values with first capital letter first, but I do not have a clue how to overcome it.