want to write content in gujarati language in rails apps

Hi all,

     I am working on ruby on rails and i want to write contents in gujarati language i.e user can enter the data in gujarati language when he select the language "Gujarati" so that when user wants to see the site in gujarati language, he can see it..so how can i implement it in rails application..Is there any editor or plugin which supports to enter the data in gujarati language and i can store it in gujarati language in the database???

    Can any one please help me?

Thanks in advance..

try this http://guides.rubyonrails.org/i18n.html

Bala wrote:

try this Rails Internationalization (I18n) API — Ruby on Rails Guides

Hi,

  Thanks for your reply..But I have already used it in my application which can display the contents in gujarati language but i want to enter the data in gujarati language from the user and want to store it in the database.so i need to manage the database for both English as well as Gujarati language..

Thanks in advance, Preksha

try this one http://www.sitepoint.com/forums/showthread.php?t=559157

All you need is your mysql database/tables created with default encoding as utf8. If the database engine default is not utf8 compatible then you may need to define the columns explicitely with utf8-general and so on.

Then the database.yml in the rails configured with 'encoding: UTF8'

You are ready to go.

I dont see any indic editors attached to rails or php or any other web technologies.

There are some javascripts available for indic languages to help typing in Indian languages. You can fit them into rails as you normally do the Ajax stuff.