i18n for hardcoded text

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

aschultz
Ebase User
Posts: 11
Joined: Sun Oct 11, 2015 12:56 pm

i18n for hardcoded text

#1

Postby aschultz » Sun Feb 26, 2017 3:44 pm

We have some text hardcoded in our forms (server side), and we want to translate this into multiple languages. I tried using ResourceBundles, but i can't seem to get the right properties file loaded.

I used:
var resourceBundle = ResourceBundle.getBundle("LoketBundle", new Locale("en"));


And i added two files to the WEB-INF/classes directory
LoketBundle_en.properties
LoketBundle.properties
0 x

aschultz
Ebase User
Posts: 11
Joined: Sun Oct 11, 2015 12:56 pm

#2

Postby aschultz » Wed Mar 01, 2017 1:57 pm

Never mind!
0 x


Who is online

Users browsing this forum: No registered users and 84 guests