Internationalization support in Velocity?
Hi i have a website made with velocity, but i cannot use the Internationalization feature of IntelliJ in Velocity (.vm) files, the option is greyed out.
Is there any way for me to get the Internationalization feature working for Velocity files?
Thanks alot
Chers
Please sign in to leave a comment.
This feature is not supported for Velocity yet. If you please file a feature request for it.
http://youtrack.jetbrains.net/issue/IDEA-72152
Hello Binh,
The feature is not currently implemented for Velocity, and we don't have
any near-term plans to implement that.
Note that this forum is for plugin development questions, not for general
product usage discussion.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Hi Dmitr,
Ok meanwhile i found this solution:
then:
1. rename "foo.vm" to "foo.vm.jsp"
2. perform internationalization
3. rename back from "foo.vm.jsp" to "foo.vm"
And having a changed i18n jsp internationalization expression: "$resource.getString('${PROPERTY_KEY}')" instead of "<bean:message key="${PROPERTY_KEY}"/>"
k sorry next time
Chers
BB