Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Internationalization in Struts

 
Rodricks george
Ranch Hand
Posts: 97
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dear Sir,

I need to implement internationalization in struts.... I am new to this topic... how can i start and what i have to follow... Please give some website links and any sample code website for learning. I want to Implement Indian languages.

-Thanks with regs,
Rodricks
 
Henry Wong
author
Marshal
Pie
Posts: 20997
76
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this topic to the struts forum.

Henry
 
Joe Harry
Ranch Hand
Posts: 10106
3
Eclipse IDE Mac PPC Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,

When I started learning Struts, I was a bit confused on this internationalization part. But after reading from the Struts Complete reference, I realized how simple was that to do internationalization in Struts. Do you already have the Complete Reference book with you?? If not google some resources...you will surely get it.
 
Raghavan Muthu
Ranch Hand
Posts: 3381
Mac MySQL Database Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
Its pretty simple in Struts. Perhaps going through the following links might give you a quick idea.

  • RoseIndia's Tutorial
  • AllApplabs Quick Review

  •  
    Rodricks george
    Ranch Hand
    Posts: 97
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Dear Sir,

    I read the Complete reference too... there they are changing the internationalization by changing the line in message resource tag in Struts config file.....

    I want to change programatically....

    I am in india i want to implement two languages like Hindi and Marathi....

    I have two links Hindi and Marathi...Default is English...

    If i click on hindi link my web page should show Hindi language and If i click on Marathi i should show marathi contents.... I am confused how to start....

    I dont know whether it comes under internationalization or Localization...

    Please help me

    -Rodricks
     
    Joe Harry
    Ranch Hand
    Posts: 10106
    3
    Eclipse IDE Mac PPC Ubuntu
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Rodrics,

    This doesn't come under internationalization. Try exploring something with Java's ResourceBundle and Properties API. I think you might find an answer.
     
    Atul Sawant
    Ranch Hand
    Posts: 304
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Then what exactly is internationalization?

    Jothi - I think Resource bundle and properties files do come under internationalization. It is also true that it helps in having multiple languages.
     
    Rodricks george
    Ranch Hand
    Posts: 97
    • Mark post as helpful
    • send pies
    • Quote
    • Report post to moderator
    Dear Sir,

    Still i am confused.... please give some code snippets so that i can understand that....

    -Rodricks
     
    • Post Reply
    • Bookmark Topic Watch Topic
    • New Topic