Is there any working example on using the Globalize plugin? It could help alot Thanks in advance -- Alexander Antonakakis email: alexis-+Saq9+MPrF0@public.gmane.org
Did you check the official site: http://globalize.diluvia.net/wiki ? Alain -- Posted via http://www.ruby-forum.com/.
Alain Ravet wrote:> Did you check the official site: > http://globalize.diluvia.net/wiki > ? > > Alain >Yes I did and the installation all described on the documentation are ok. What I need is a working rails example to understand how I''ll store the translated text on the database for each language, how do I define available languages etc. So a small rails application with one table and a couple of data translated I think would help some new ruby programmers like me :) -- Alexander Antonakakis email: alexis-+Saq9+MPrF0@public.gmane.org
Thanks for the questions! I just added a new how-to page to the wiki: http://globalize.diluvia.net/wiki/pages/How+To Let me know if that answers your first question. As for your second question, what do you mean exactly by defining available languages? Also, your idea of including a tiny example app is a good one. I''ll try to whip something up as soon as I have some time. Or if anyone else wants to volunteer, let me know. Josh Harvey http://shnoo.gr Alexander Antonakakis wrote:> Alain Ravet wrote: >> Did you check the official site: >> http://globalize.diluvia.net/wiki >> ? >> >> Alain >> > Yes I did and the installation all described on the documentation are > ok. What I need is a working rails example to understand how I''ll store > the translated text on the database for each language, how do I define > available languages etc. > So a small rails application with one table and a couple of data > translated I think would help some new ruby programmers like me :)-- Posted via http://www.ruby-forum.com/.
Thanks Joshua. This clears some things out for sure. What I have to figure out now is how to include the translation process in the application so I don''t have to type the translations from the console in order to enter them in the db. Thanks Joshua Harvey wrote:> Thanks for the questions! I just added a new how-to page to the wiki: > http://globalize.diluvia.net/wiki/pages/How+To > > Let me know if that answers your first question. As for your second > question, what do you mean exactly by defining available languages? > > Also, your idea of including a tiny example app is a good one. I''ll try > to whip something up as soon as I have some time. Or if anyone else > wants to volunteer, let me know. > > Josh Harvey > http://shnoo.gr > > Alexander Antonakakis wrote: > >>Alain Ravet wrote: >> >>>Did you check the official site: >>> http://globalize.diluvia.net/wiki >>>? >>> >>>Alain >>> >> >>Yes I did and the installation all described on the documentation are >>ok. What I need is a working rails example to understand how I''ll store >>the translated text on the database for each language, how do I define >>available languages etc. >>So a small rails application with one table and a couple of data >>translated I think would help some new ruby programmers like me :) > > >-- Alexander Antonakakis Information Systems Department Mediterranean Agronomic Institute of Chania Tel.: +30 28210 35000 718 Email: alexis-+Saq9+MPrF0@public.gmane.org
Try this out: http://globalize.diluvia.net/wiki/pages/Adding+a+Translation+View I ripped it out of some stuff I''m working on, so no guarantees, but feedback is welcome, as always. Joshua Harvey http://shnoo.gr Alexander Antonakakis wrote:> Thanks Joshua. This clears some things out for sure. > What I have to figure out now is how to include the translation process > in the application so I don''t have to type the translations from the > console in order to enter them in the db. > Thanks > > Joshua Harvey wrote: >> Josh Harvey >>>>Alain >> > -- > Alexander Antonakakis > Information Systems Department > Mediterranean Agronomic Institute of Chania > Tel.: +30 28210 35000 718 > Email: alexis-+Saq9+MPrF0@public.gmane.org-- Posted via http://www.ruby-forum.com/.
Cool Joshua. I''ll try this little later and let you know. Thanks again Joshua Harvey wrote:> Try this out: > http://globalize.diluvia.net/wiki/pages/Adding+a+Translation+View > > I ripped it out of some stuff I''m working on, so no guarantees, but > feedback is welcome, as always. > > Joshua Harvey > http://shnoo.gr > > Alexander Antonakakis wrote: > >>Thanks Joshua. This clears some things out for sure. >>What I have to figure out now is how to include the translation process >>in the application so I don''t have to type the translations from the >>console in order to enter them in the db. >>Thanks >> >>Joshua Harvey wrote: >> >>>Josh Harvey >>> >>>>>Alain >>> >>-- >>Alexander Antonakakis >>Information Systems Department >>Mediterranean Agronomic Institute of Chania >>Tel.: +30 28210 35000 718 >>Email: alexis-+Saq9+MPrF0@public.gmane.org > > >-- Alexander Antonakakis Information Systems Department Mediterranean Agronomic Institute of Chania Tel.: +30 28210 35000 718 Email: alexis-+Saq9+MPrF0@public.gmane.org
I believe a template is missing. the error I get is : No rhtml, rxml, or delegate template found for translate/_translation_text and it must come from : <%= render :partial => ''translation_text'', :object => tr.text %> As I said I''m a newby in Ruby ans Rails so maybe I do something wrong Alex Joshua Harvey wrote:> Try this out: > http://globalize.diluvia.net/wiki/pages/Adding+a+Translation+View > > I ripped it out of some stuff I''m working on, so no guarantees, but > feedback is welcome, as always. > > Joshua Harvey > http://shnoo.gr > > Alexander Antonakakis wrote: > >>Thanks Joshua. This clears some things out for sure. >>What I have to figure out now is how to include the translation process >>in the application so I don''t have to type the translations from the >>console in order to enter them in the db. >>Thanks >> >>Joshua Harvey wrote: >> >>>Josh Harvey >>> >>>>>Alain >>> >>-- >>Alexander Antonakakis >>Information Systems Department >>Mediterranean Agronomic Institute of Chania >>Tel.: +30 28210 35000 718 >>Email: alexis-+Saq9+MPrF0@public.gmane.org > > >-- Alexander Antonakakis Mediterranean Agronomic Institute of Chania Tel: +30 28210 35000 ext.718 email: alexis-+Saq9+MPrF0@public.gmane.org
On Wed, 2005-12-21 at 19:12 +0100, Joshua Harvey wrote:> Try this out: > http://globalize.diluvia.net/wiki/pages/Adding+a+Translation+View > > I ripped it out of some stuff I''m working on, so no guarantees, but > feedback is welcome, as always.I''ll try to get Jeremy to post some more examples of this... he''s currently on a plane back to Ohio for the holiday weekend. We just got done working on a site for a client that is using Globalize for 20 languages. I know he posted on his blog a few times about his experience with it. http://jvoorhis.com/ We were highly impressed with how well it could be incorporated with our application and it now works with PostgreSQL. ;-) http://www.robbyonrails.com/articles/2005/11/30/localization-with-rails-and-postgresql-part-1 Thanks for this great plugin Josh! -Robby -- /************************************************************** * Robby Russell, Founder & Executive Director * * PLANET ARGON, LLC | www.planetargon.com * * Ruby on Rails Development, Consulting, and Hosting * * Portland, Oregon | p: 503.351.4730 | f: 815.642.4068 * * blog: www.robbyonrails.com | book: www.programmingrails.com * ***************************************************************/
Alex wrote:> I believe a template is missing.Alex, thanks for pointing that out -- I had forgotten to paste it in, it''s there now: http://globalize.diluvia.net/wiki/pages/Adding+a+Translation+View And Robby, thanks for the kind words :) Josh Harvey http://shnoo.gr Robby Russell wrote:> > We were highly impressed with how well it could be incorporated with our > application and it now works with PostgreSQL. ;-) > > http://www.robbyonrails.com/articles/2005/11/30/localization-with-rails-and-postgresql-part-1 > > Thanks for this great plugin Josh!-- Posted via http://www.ruby-forum.com/.
Joshua it is working great. Thanks for all the help. I''ll try to clear out the test application I was using and send it to you maybe you can use it as an example Thanks Alex Joshua Harvey wrote:> Alex wrote: > >>I believe a template is missing. > > > Alex, thanks for pointing that out -- I had forgotten to paste it in, > it''s there now: > http://globalize.diluvia.net/wiki/pages/Adding+a+Translation+View > > And Robby, thanks for the kind words :) > > Josh Harvey > http://shnoo.gr > > Robby Russell wrote: > > >>We were highly impressed with how well it could be incorporated with our >>application and it now works with PostgreSQL. ;-) >> >>http://www.robbyonrails.com/articles/2005/11/30/localization-with-rails-and-postgresql-part-1 >> >>Thanks for this great plugin Josh! > >-- Alexander Antonakakis Information Systems Department Mediterranean Agronomic Institute of Chania Tel.: +30 28210 35000 718 Email: alexis-+Saq9+MPrF0@public.gmane.org