*
The moose likes Struts and the fly likes Internationalization in Struts Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Internationalization in Struts" Watch "Internationalization in Struts" New topic
Author

Internationalization in Struts

Rodricks george
Ranch Hand

Joined: Sep 10, 2006
Posts: 97
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
Sheriff

Joined: Sep 28, 2004
Posts: 18545
    
  40

Moving this topic to the struts forum.

Henry


Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
Joe Harry
Ranch Hand

Joined: Sep 26, 2006
Posts: 9345
    
    2

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.


SCJP 1.4, SCWCD 1.4 - Hints for you, Certified Scrum Master
Did a rm -R / to find out that I lost my entire Linux installation!
Raghavan Muthu
Ranch Hand

Joined: Apr 20, 2006
Posts: 3344

Hey,
Its pretty simple in Struts. Perhaps going through the following links might give you a quick idea.

  • RoseIndia's Tutorial
  • AllApplabs Quick Review



  • Everything has got its own deadline including one's EGO!
    [CodeBarn] [Java Concepts-easily] [Corey's articles] [SCJP-SUN] [Servlet Examples] [Java Beginners FAQ] [Sun-Java Tutorials] [Java Coding Guidelines]
    Rodricks george
    Ranch Hand

    Joined: Sep 10, 2006
    Posts: 97
    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

    Joined: Sep 26, 2006
    Posts: 9345
        
        2

    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

    Joined: Jul 06, 2006
    Posts: 304
    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.


    Mission SCWCD. Mission SCJP Complete: SCJP 1.4 - 91%
    Rodricks george
    Ranch Hand

    Joined: Sep 10, 2006
    Posts: 97
    Dear Sir,

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

    -Rodricks
     
    I agree. Here's the link: http://aspose.com/file-tools
     
    subject: Internationalization in Struts
     
    Similar Threads
    internationalization
    Using struts2 only for internationalization
    Is that Internationalization possible in Iphone application
    Internationalization in javascript
    struts - internationalization in Action class