• Post Reply Bookmark Topic Watch Topic
  • New Topic

how to convert webpage in state specific language  RSS feed

 
Punit Jain
Ranch Hand
Posts: 1085
3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Although Localization is used to convert any page to country specific language,
but i want to convert web page in state based language(ie. Marathi etc), how can i do this??
 
Zeeshan Sheikh
Ranch Hand
Posts: 144
Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Man this is a tough one .. TechMarathi check their website otherwise you will have to google. I checked Java API and there is no ResourceBundle for hindi or marathi.
 
Rob Spoor
Sheriff
Posts: 21135
87
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sure there is. ResourceBundle uses the Locale, and nothing prevents you from creating your own Locale objects. All that matters are the language ("en") and optionally the country ("GB", for "en_GB").
 
Zeeshan Sheikh
Ranch Hand
Posts: 144
Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ok sorry, I wasn't clear enough but there is no Locale for HINDI Rob.
 
Paul Clapham
Sheriff
Posts: 22841
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Zeeshan Sheikh wrote:there is no Locale for HINDI

Sure there is:


Rob Spoor wrote:nothing prevents you from creating your own Locale objects
 
Zeeshan Sheikh
Ranch Hand
Posts: 144
Java MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oops I should have checked thoroughly. I checked APIs & it wasn't listed there but found it on IANA Language Subtag Registry. Thanks for the correction.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!