Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

MultiLang Web Application

  Asked By: Seth    Date: Apr 22    Category: Java    Views: 590
  

I want to Make MultiLang Web Application Which Support Arabic, English And Fransh Language
So i Create Class Whuch Have Method That Read from Properties File And then Retur Value Which Match The Key I Was Send
its Work fine but when i read From Arabic Properties File its Return the text as ?

Share: 

 

2 Answers Found

 
Answer #1    Answered By: Reamonn Fischer     Answered On: Apr 22

you should use UTF8 instead of 1256. And you can''t use ordinary properties class  to read  property files for non-ASCII files ,you should should ResourceBundles. I suggest to use XML instead of property files which hase a better support  for internationalization.

 
Answer #2    Answered By: Aaron Evans     Answered On: Apr 22

iam Already Use ResourceBundle and when iam Use utf-8 or utf-16 it
cause error
also i don't know how i can use xml file  instead of properties  file so
if you have time to send  me a sample contain of xml file and class
which extract data from the file i will be thanks for you

 
Didn't find what you were looking for? Find more on MultiLang Web Application Or get search suggestion and latest updates.




Tagged: