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

4 comments
Comment actions Permalink

This feature is not supported for Velocity yet. If you please file a feature request for it.

0
Comment actions Permalink

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.

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?


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hi Dmitr,


The feature is not currently implemented for Velocity, and we don't have
any near-term plans to implement that.


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}"/>"

Note that this forum is for plugin development questions, not for general
product usage discussion.

k sorry next time

Chers
BB

0

Please sign in to leave a comment.