• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to make website support multiple languages  RSS feed

 
Manas Saxena
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am not sure whether its the right place to post the question but still ..

I want to make my website(in jsp) support mulitple languages ,where do i start i have no idea how to do this?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66260
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Start by studying the "fmt" class of JSTL tags. They'll allow you to display text and numeric values based upon the user's locale.
 
Pras Tiwari
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You can have look at basic start point by using jstl ftm:setlocale tag. The mini tutorial for same is at - http://www.tutorialspoint.com/jsp/jstl_format_setlocale_tag.htm

--Pras
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66260
151
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That should be <fmt:setLocale> -- not "ftm".

The whole category of JSTL fmt tags work together to enable localization.
 
Manas Saxena
Ranch Hand
Posts: 38
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thnanks for all the answers.Got it done
I am using google translate api for the purpose
 
Paul Clapham
Sheriff
Posts: 22697
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Manas Saxena wrote:I am using google translate api for the purpose


That's a cheaper alternative than having people do translations, but also definitely an inferior alternative.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!