Yes, that example is similar to the one I have working.
What I wanted to do is having a pure JSON file like:
{
"hello": "Hello",
"hello2": "Hello 2"
}
Is this possible?
Follow up question...
With the suggested example I can use slightly annotation to get the label
${'hello' @i18n}.
How can I use i18n in javascript?
--
View this message in context:
http://apache-sling.73963.n3.nabble.com/Sling-JSON-i18n-tp4072998p4073009.html
Sent from the Sling - Users mailing list archive at Nabble.com.
