I'd love to but 1. my knowledge of dryml is still limited. 2. I've
done some digging into formal rules that come naturally to me.. Bottom
line is that I could write a book on pluralization alone. Add to that
the 3-4 declension forms in use in phrases such as index of, create
new etc and 3 gender variations. You'd end up reading a book thats the
size of Rapid Rails with Hobo an algorithm the size of newest AIs and
an explanation the size of the plot outline for "The Bold and the
Beautiful" xD thats gibberish for anyone not speaking a Slavic
language fluently.

There is only one middle-ground that comes to mind.
Is there a way to hard-code the plural and singular form of each model
for say 1,<2,4>, <5, infinity) items in a collection and then make the
i18n display that hard-coded grammar form depending on the number of
items in a collection ?

On Oct 1, 8:10 pm, Owen <[email protected]> wrote:
> Perhaps we need to significantly enhance the "Internationalization"
> section of the online Hobo manual:
>
> http://cookbook.hobocentral.net/manual/i18n
>
> -Owen
>
> On Oct 1, 1:24 pm, Scorpio <[email protected]> wrote:
>
> > By multiple at the same time I mean like pl.yml and hobo.pl.yml at the
> > same time.
> > Furthermore How do I specify pluralization rules (complex ones) in the
> > file ? because :one :many :other won't cut it. not even close. There
> > are a few things one needs to take into account before adding the
> > appropriate word ending - the equivalent of the English "{{model}}s".
> > if that won't work i'll stick with "Indeks:{{model}}" or whatever but
> > I'd like to be a bit more natural about it. Basicaly what I need is
> > establishing male,famale,neutral form by taking the model name string
> > apart. Is that even doable within the locale file ?
>
> > On Oct 1, 6:45 pm, Domizio Demichelis <[email protected]> wrote:
>
> > > PL! Fantastic!
>
> > > I need to know something of your pluralization, so that a new hobo feature
> > > that I am implementing will be also Polish-friendly. I will get in touch
> > > with you by email, if you don't mind.
>
> > > Anyway, what do you mean with "run multiple yml at the same time"? All the
> > > yml in the locales dirs are loaded and available "at the same time", so I 
> > > am
> > > not sure to understand your question.
>
> > > ciao
> > > dd
>
> > > On Fri, Oct 1, 2010 at 12:31 PM, Scorpio <[email protected]> wrote:
> > > > I'll gladly contribute a PL locale for Hobo if anyone would be so kind
> > > > as to tell me how do i actually run multiple yml at the same time
> > > > (i'll be using the rails error messages etc from the rails PL locale
> > > > and a hobo.* locale for the Hobo parts) any help on that ?
>
> > > > On Oct 1, 6:09 pm, dd <[email protected]> wrote:
> > > > > Franco,
> > > > > you are very welcome!
>
> > > > > I will write a little guide to help anyone that wants to contribute
> > > > > with a new language. Anyway that's a quite trivial task: as Owen
> > > > > pointed out, the hobo internal locale files are those in hobo/config/
> > > > > locales. You can just make a copy of one of those and move it to
> > > > > <yourapp>/config/locales/hobo.pt.yml. Then you can translate it and
> > > > > try it in your app from there (in development mode any change you do
> > > > > to any locale file will be picked on the next request, no need to
> > > > > restart the server). Then, when you are satisfied with your work,
> > > > > please let me know, so I will add it to the official locale files.
>
> > > > > BTW, the 'DO' in the 'es-DO' locale stands for Dominican Republic. It
> > > > > is a little different by a locale 'es' or a locale 'es-AR' for
> > > > > example, mainly for the currency, date and time formats, but
> > > > > sometimes, also for the way to say the same thing.
>
> > > > > ciao
> > > > > dd
>
> > > > > On Oct 1, 11:35 am, Owen Dall <[email protected]> wrote:
>
> > > > > > Sorry : -)
>
> > > > > > Look under config/locales:
>
> > > > > >http://screencast.com/t/N2IyNzkyY
> > > > > > you will see:
>
> > > > > > hobo.en.yml
> > > > > > hobo.es-DO.yml   (what does the DO stand for?)
> > > > > > hobo.it.yml
>
> > > > > > -O
>
> > > > > > On Fri, Oct 1, 2010 at 11:25 AM, Tiago Franco 
> > > > > > <[email protected]>
> > > > wrote:
> > > > > > >  hehehe.
>
> > > > > > > My Italian is a little rusty :)
>
> > > > > > > I'll try to locate the English version of the file in Hobo's 
> > > > > > > source
> > > > and
> > > > > > > upload the PT version.
>
> > > > > > > Thanks,
> > > > > > >   TF
>
> > > > > > > On 10/01/2010 04:23 PM, Owen Dall wrote:
>
> > > > > > >  Here is an example you may have already seen. Uploading  the PT
> > > > version
> > > > > > > on the hobodev group would be a start...
>
> > > >http://github.com/tablatom/hobo/blob/rails3/locales/example_app.it.yml
>
> > > > > > >  , Oct 1, 2010 at 10:14 AM, Tiago Franco <[email protected]>
> > > > wrote:
>
> > > > > > >> Ping?
>
> > > > > > >> On 09/30/2010 11:15 PM, Tiago Franco wrote:
>
> > > > > > >>> Hi,
>
> > > > > > >>> I wan't to contribute with a PT locale. What should I do?
>
> > > > > > >>> Thanks,
> > > > > > >>>  TF
>
> > > > > > >> --
> > > > > > >> 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]<hobousers%2bunsubscr...@googlegroups
> > > > > > >>  .com>
> > > > <hobousers%[email protected]<hobousers%252bunsubscr...@googleg
> > > >  roups.com>
>
> > > > > > >> .
> > > > > > >> For more options, visit this group at
> > > > > > >>http://groups.google.com/group/hobousers?hl=en.
>
> > > > > > > --
> > > > > > > Thanks,
>
> > > > > > >  Owen
>
> > > > > > > Owen Dall, Chief Systems Architect
> > > > > > > Barquin International
> > > > > > >www.barquin.com
> > > > > > > Cell: 410-991-0811
>
> > > > > > >  --
> > > > > > > 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]<hobousers%2bunsubscr...@googlegroups
> > > > > > >  .com>
> > > > .
> > > > > > > For more options, visit this group at
> > > > > > >http://groups.google.com/group/hobousers?hl=en.
>
> > > > > > --
> > > > > > Thanks,
>
> > > > > > Owen
>
> > > > > > Owen Dall, Chief Systems Architect
> > > > > > Barquin Internationalwww.barquin.com
> > > > > > Cell: 410-991-0811
>
> > > > --
> > > > 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]<hobousers%2bunsubscr...@googlegroups
> > > >  .com>
> > > > .
> > > > For more options, visit this group at
> > > >http://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.

Reply via email to