Sure in a language thats like English with few grammar forms of each word that is simple but anyone here speaking a Slavic language can see my problem. Lets take a simple word like "category" thats basically in any bigger project. In English you can just write category/categories and you're done (you can put it in any place and context) whereas I'm facing a problem far worse. Say we wanna count the categories and display an info like (5 categories) somewhereon the page. The word categories changes from 2-4 and 5+ elements. Saying "This product can be found in X categories" you would have yet another grammar form of the word category. How do I code such complex behaviors when one word can take almost 20 grammar forms ?
On Aug 18, 7:38 pm, kevinpfromnm <[email protected]> wrote: > it's integrated in with rails now, no more separate gem. as to what's > entailed, I don't know. all my projects have been english only but > from what little I've looked, it doesn't seem too hard. > > On Aug 18, 10:04 am, Scorpio <[email protected]> wrote: > > > I know about that ruby gem but my worry is integrating it with Hobo. > > I'm not sure how to do that in a complete and efficient manner. > > > On Aug 18, 5:40 pm, Matt Jones <[email protected]> wrote: > > > > There's definitely support for this, so no hard-coding worries. The > > > Rails I18n guide will probably help: > > > >http://guides.rubyonrails.org/i18n.html > > > > as will the manual section: > > > >http://cookbook.hobocentral.net/manual/i18n > > > > Spiralis's locale repo will probably be a good place to start - it's > > > linked about 2/3rds of the way down on the cookbook page above. > > > > There are several users on the list that have actually deployed > > > translated apps; not sure which TZ they're in, however. > > > > --Matt Jones > > > > On Wed, Aug 18, 2010 at 10:56 AM, Scorpio <[email protected]> > > > wrote: > > > > Whats the cleanest way to enable multilang? > > > > > yes I have seen the tutorial but its more of a stub and since hobo is > > > > the size of a complete new framework its far too little to help me > > > > grasp it. I'm building an app and i need it translated fully to my > > > > native language. Sure i can alter fields and hints but the buttons and > > > > flash messages thats a whole different story. is there any other way > > > > then hard-coding messages by hand or building complex logic > > > > essentially rewriting a lot of hobo ? I read that hobo multilang > > > > inherits from the rails native gem but how do i set up and use that in > > > > a real life example ? > > > > > If hardcoding is the only option I'd be glad if someone pointed me to > > > > where all the flashes and buttons are located so I can be the new king > > > > Sisyphus ... > > > > > -- > > > > You received this message because you are subscribed to the Google > > > > Groups "Hobo Users" group. > > > > To post to this group, send email to [email protected]. > > > > To unsubscribe from this group, send email to > > > > [email protected]. > > > > For more options, visit this group > > > > athttp://groups.google.com/group/hobousers?hl=en. -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
