just to repeat (again) --- pointing out this difference in fundamental paradigm: translation vs. string-serving was not to suggest we make a change (at this point) but rather to point out the necessity to be explicit and crisp about describing what we _have_ chosen to do (as not having this boundary clear can create, and in this case has, bugs).
In summary, this is my most direct explanation for precisely why being explicit about a default language in the current paradigm is important for reasonable, correct behavior. - Yarko On Mon, Nov 23, 2009 at 3:01 PM, Yarko Tymciurak <crf...@gmail.com> wrote: > On Mon, Nov 23, 2009 at 2:55 PM, Thadeus Burgess <thade...@thadeusb.com>wrote: > >> I'm not sure if changing the underlying workings of T is really necessary. >> What are the Pro's and Con's of each system (translation vs string serving). >> Mainly, what are the Con's with the current implementation that a new >> underlying system would fix? >> > > The change in "concept" would not "FIX" anything; it would add a new > possibility (I think): Having context-specific language settings, e.g. > right now you cannot have an english web2py site serving (say) a "Learn > Polish" tutorial applicaiton where that app's content is in Polish (can do > that now), but the messages, help, etc. are in the default site language > (for example, English). > > A shift to string-serving vs. one level translation would enable this. > (There may be other ways to accomplish this). > > >> Does it make creating new language files easier? Does it make implementing >> i8n easier? >> > > No. Only makes shifting language contexts during runtime / w/in an app > possible (and possibly other things). > > >> >> >> The biggest question I have is.... Can I stick my language file into >> google translate and get the translated strings back in a usable format by >> web2py? >> > > Either way, I think this would not be affected. > > - Yarko > >> >> -Thadeus >> >> >> >> >> >> 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. >>> >>> 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 -~----------~----~----~----~------~----~------~--~---