Preksha Patel
2010-Apr-16 05:33 UTC
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.. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
try this http://guides.rubyonrails.org/i18n.html On Fri, Apr 16, 2010 at 11:03 AM, Preksha Patel <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote:> 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.. > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Preksha Patel
2010-Apr-16 05:41 UTC
Re: want to write content in gujarati language in rails apps
Bala wrote:> try this http://guides.rubyonrails.org/i18n.htmlHi, 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 -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Bala
2010-Apr-16 05:47 UTC
Re: Re: want to write content in gujarati language in rails apps
try this one http://www.sitepoint.com/forums/showthread.php?t=559157 On Fri, Apr 16, 2010 at 11:11 AM, Preksha Patel <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>wrote:> Bala wrote: > > try this http://guides.rubyonrails.org/i18n.html > > 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 > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org> > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Amala Singh
2010-Apr-16 12:21 UTC
Re: Re: want to write content in gujarati language in rails apps
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. On 16 April 2010 06:47, Bala <bala.muthaiah-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> try this one http://www.sitepoint.com/forums/showthread.php?t=559157 > > > On Fri, Apr 16, 2010 at 11:11 AM, Preksha Patel <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> > wrote: >> >> Bala wrote: >> > try this http://guides.rubyonrails.org/i18n.html >> >> 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 >> -- >> Posted via http://www.ruby-forum.com/. >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to > rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. >-- -- Nandri(Thanks in Tamil), Amala Singh -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Amala Singh
2010-Apr-16 12:24 UTC
Re: Re: want to write content in gujarati language in rails apps
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. On 16 April 2010 13:21, Amala Singh <amalasingh-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> 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. > > > > On 16 April 2010 06:47, Bala <bala.muthaiah-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: >> try this one http://www.sitepoint.com/forums/showthread.php?t=559157 >> >> >> On Fri, Apr 16, 2010 at 11:11 AM, Preksha Patel <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org> >> wrote: >>> >>> Bala wrote: >>> > try this http://guides.rubyonrails.org/i18n.html >>> >>> 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 >>> -- >>> Posted via http://www.ruby-forum.com/. >>> >>> -- >>> You received this message because you are subscribed to the Google Groups >>> "Ruby on Rails: Talk" group. >>> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> To unsubscribe from this group, send email to >>> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >>> For more options, visit this group at >>> http://groups.google.com/group/rubyonrails-talk?hl=en. >>> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Talk" group. >> To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> To unsubscribe from this group, send email to >> rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org >> For more options, visit this group at >> http://groups.google.com/group/rubyonrails-talk?hl=en. >> > > > > -- > -- > Nandri(Thanks in Tamil), > Amala Singh >-- -- Nandri(Thanks in Tamil), Amala Singh -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.