Re: [web2py] Re: pluralization system problem

2013-09-23 Thread Vladyslav Kozlovskyy
Thank you for your fix. I'll create the patch. With the best regards Vlad Kozlovskyy Chernivtsi, Ukraine У пн, 2013-09-23 у 13:29 -0700, mcamel пише: > El domingo, 22 de septiembre de 2013 12:59:23 UTC+2, dbdeveloper > escribió: > > > # This rule isn't perfect but covers many cases. Comp

Re: [web2py] Re: pluralization system problem

2013-09-23 Thread mcamel
El domingo, 22 de septiembre de 2013 12:59:23 UTC+2, dbdeveloper escribió: > > # This rule isn't perfect but covers many cases. Complete rules at > http://www.rae.es/dpd/srv/search?id=Iwao8PGQ8D6QkHPn4i. > construct_plural_form = lambda word, plural_id: (word + > ('es' if w

Re: [web2py] Re: pluralization system problem

2013-09-22 Thread Vladyslav Kozlovskyy
Hi У сб, 2013-09-21 у 09:18 -0700, mcamel пише: > Ok. I did so and worked fine. > > I supposed words needed to be included in translation file once, but > in fact, expressions including words has to be included also in the > dictionary as if they were words itself. web2py localisation subsystem

Re: [web2py] Re: pluralization system problem

2013-09-21 Thread mcamel
Ok. I did so and worked fine. I supposed words needed to be included in translation file once, but in fact, expressions including words has to be included also in the dictionary as if they were words itself. I propose this to be included in the manual: 1. expressions including words has to

Re: [web2py] Re: pluralization system problem

2013-09-21 Thread Vladyslav Kozlovskyy
One addition to the step 8: Record with "word" in plural-*.py files appears ONLY during execution T() or T.M() with correspondent "%%{word}" template in it. So before editing plural forms you need to execute you application once (step 9) or you need to fill plural-*.py files manually as a Pytho

Re: [web2py] Re: pluralization system problem

2013-09-20 Thread Vladyslav Kozlovskyy
It is not an issue. It's only a small misunderstanding. :) There are correct steps how to create application with working pluralization system: 1. Create a simple app 2. Replace index() at default.py with return T('%s %%{object}', 2, language='es') 3. Insert into administrative interface, click [

Re: [web2py] Re: pluralization system problem

2013-09-19 Thread mcamel
Hi, I thought so when i saw plural-ru.py, but it doesn't work and besides, the case '2 objectos' becomes '2 object'. So, even worse. El jueves, 19 de septiembre de 2013 12:01:46 UTC+2, dbdeveloper escribió > > 4. Create languages/plural-es.py, with: {'object': ['objectos'],} > Please try to r

[web2py] Re: pluralization system problem

2013-09-19 Thread mcamel
Nothing about pluralization, so i've opened Issue 1684 . El jueves, 19 de septiembre de 2013 12:03:00 UTC+2, LightDot escribió: > > Issues/tickets/bug reports are found here: > > http://code.google.com/p/web2py/issues/list > > Just search if

[web2py] Re: pluralization system problem

2013-09-19 Thread LightDot
Issues/tickets/bug reports are found here: http://code.google.com/p/web2py/issues/list Just search if something like this already exist and if not, create a new issue. On Thursday, September 19, 2013 9:31:03 AM UTC+2, mcamel wrote: > > Any guide to open a ticket?. > > Thanks. > > > El jueves, 1

Re: [web2py] Re: pluralization system problem

2013-09-19 Thread Vladyslav Kozlovskyy
4. Create languages/plural-es.py, with: {'object': ['objectos'],} Please try to replace 'object' with 'objecto'. In plural-*.py must be native language only. Vladyslav Kozlovskyy У ср, 2013-09-18 у 16:00 -0700, Massimo Di Pierro пише: > Can you please open a ticket about this and we will review

[web2py] Re: pluralization system problem

2013-09-19 Thread mcamel
Any guide to open a ticket?. Thanks. El jueves, 19 de septiembre de 2013 01:00:16 UTC+2, Massimo Di Pierro escribió: > > Can you please open a ticket about this and we will review it asap? > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/

[web2py] Re: pluralization system problem

2013-09-18 Thread Massimo Di Pierro
Can you please open a ticket about this and we will review it asap? On Wednesday, 18 September 2013 14:54:48 UTC-5, mcamel wrote: > > Hello, > > I've found two problems with Spanish pluralization. I think the first is a > bug and the second is an unexpected behavior. > Both happens with 2.51 and