• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Doubt on Internalization

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi EveryOne,


I am doing J2EE project using strut framework.

My project software requirement:

Jboss App Server.
Strut Framework
Oracle 10G.

Here strut could support multi language and i heard about oracle 10g,
It also support.I would like to know.


How do i implement on server(database) and key based(keyboard).
Please any one help me.

-- jack
SCJP,SCBCD
 
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by jack_martin:
Hi EveryOne,


I am doing J2EE project using strut framework.

My project software requirement:

Jboss App Server.
Strut Framework
Oracle 10G.

Here strut could support multi language and i heard about oracle 10g,
It also support.I would like to know.


Struts Internationalization (i18n)

Originally posted by jack_martin:
How do i implement on server(database) and key based(keyboard).
Please any one help me.
-- jack
SCJP,SCBCD



I don't recommend this way.
 
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Struts supports internationlization by means of key value pairs . Struts Documentation can provide much insight but it is very simple and straightforward to do so .

Actually key values pairs are stored in property files(Resource Bundles) and based on locale these bundles are picked up . Struts gives that implementation .
You can also look into java.util.ResourceBundle that will give you fair enough idea.

Locales are like en_US , fr_FR means US english , French France etc .

One imp point though if your app needs to be a true i118n compliant you need to support UTF-8 charset . This charset can be set in META tag of JSP and on the server side it is taken care by App Servers .

On the DB side again while installing the DB and making an instance you need to specify the charset to UTF8 ....

This will ensure that all requests are coming in UTF-8 and all DB data is again in UTF-8 .

Hope it helps
-nikhil
 
reply
    Bookmark Topic Watch Topic
  • New Topic