Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!

Rob Miles

Greenhorn
+ Follow
since Sep 16, 2008
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rob Miles

Hi all,

Our web developer recently left the company, and I have been handed the task of updating parts of his CMS system. (my programming skills are a bit rusty so you may have to bare with me)

Currently the system uses Spring and Hibernate (also other bells and whistles not important here). It builds page based on "News" objects(the text on the page) and "Media" objects (all images and multimedia).

I have to add the ability to have multi-lingual support. My current plan is to have central News item in one table then have a "Translation" table in a one-to-many relationship.

Here is where my lack of knowledge really shines, the way I understand it I need to Class for "Translation" and the relevant mappings, Then indicate that the "News" item get/set a "translation". Then presumably I can at the "translation" on the resulting jsp side with model.transObject.column (?)

Am I on the right track here or am I completely lost?

Cheers
Rob

P.S. Any tutorials or examples you could suggest would be greatly appreciated. I havent played with java for a few years