The issue is *usually* that the TranslationString instance hasn't been run through `request.localizer.translate(..)`. Now, why not? I haven't dug in to try and figure that out yet.
On Wed, Feb 8, 2017 at 3:55 PM, Hans-Peter Jansen <h...@urpla.net> wrote: > Hi, > > I've used a good part of the day for getting i18n fixed in deformdemo, > but failed so far. :( > > While all debug instrumentation show green lights, the translation > strings aren't picked up for some reason: > > 2017-02-08 22:49:07,717 DEBUG [deformdemo:63][waitress] locale_name from > default_locale_negotiator: de > 2017-02-08 22:49:07,718 DEBUG [deformdemo:2080][waitress] locale_name: de, > request._LOCALE_: de > 2017-02-08 22:49:09,795 DEBUG [deformdemo:63][waitress] locale_name from > default_locale_negotiator: en > 2017-02-08 22:49:09,795 DEBUG [deformdemo:2080][waitress] locale_name: en, > request._LOCALE_: en > 2017-02-08 22:49:10,897 DEBUG [deformdemo:63][waitress] locale_name from > default_locale_negotiator: de > 2017-02-08 22:49:10,897 DEBUG [deformdemo:2080][waitress] locale_name: de, > request._LOCALE_: de > 2017-02-08 22:49:12,345 DEBUG [deformdemo:63][waitress] locale_name from > default_locale_negotiator: nl > 2017-02-08 22:49:12,345 DEBUG [deformdemo:2080][waitress] locale_name: nl, > request._LOCALE_: nl > > I've uploaded it here: https://github.com/frispete/deformdemo > > Could somebody more familiar with the pyramid translation machinery be > so kind to have a look into this? > > Thanks in advance, > Pete > > -- > You received this message because you are subscribed to the Google Groups > "pylons-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to pylons-devel+unsubscr...@googlegroups.com. > To post to this group, send email to pylons-devel@googlegroups.com. > Visit this group at https://groups.google.com/group/pylons-devel. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "pylons-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to pylons-devel+unsubscr...@googlegroups.com. To post to this group, send email to pylons-devel@googlegroups.com. Visit this group at https://groups.google.com/group/pylons-devel. For more options, visit https://groups.google.com/d/optout.