I put en-uk not en-gr. You see, this is a big can of worms. How do you know that the default application is in en-us and not en-uk? This is way it was not specified before. This is why I am still not completely convinced it is a good idea not to let the users be explicit.
On Nov 24, 12:14 pm, Yarko Tymciurak <resultsinsoftw...@gmail.com> wrote: > On Mon, Nov 23, 2009 at 2:25 PM, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > Yarko's patch is tentatively in trunk since nobody seems to complain > > about this change in behavior. > > You made an error with the change you made in this patch: you added 3 > languages, 'en', 'en-us', and 'en-gr'; > This should only be either 'en-us' (the language of the distro), or at most > ['en-us', 'en']. > > As you've done it, you've introduced another bug. > > Putting en-gr will prevent 'en-gr' from being seen if it is a translation > file UNLESS application FORCES a base language (for example). > This means that 'behavior' and 'behaviour' will not be appropriately > picked up from a languages/en-gr.py file UNLESS EACH application forces > language to 'en-us' (or some other, non-[en-gr] language). > > For example, a 'en-us' app will NOT be able (with this app) to correctly > display to someone in England, who has their language set as 'en-gr'. > > Please fix this in trunk: to ['en-us']; ['en-us', 'en'] would also work > appropriately and be acceptable. > > - Yarko > > > Massimo > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---