Roundup Tracker - Issues

Message6282

Author schlatterbeck
Recipients mbehrle, rouilj, schlatterbeck
Date 2018-10-11.07:07:47
Message-id <20181011070743.cz4ecnv2v2cyryy7@runtux.com>
In-reply-to <20181011010530.42BCE4C05CF@itserver6.localdomain>
On Wed, Oct 10, 2018 at 09:05:30PM -0400, John P. Rouillard wrote:
> 
> while search_select_translated does:
> 
...
>             i18n:translate=""></option>

> If I understand this, the 'i18n:translate=""' causes the templating
> engine to look up the content of the option tag (which I think is the
> displayed label) as a key in the translation table. Then it uses the
> result of that look up as the content.
> 
> If the content string of the option doesn't exist in the translation
> table the content is left untranslated.

Yes, that's correct.

> >From what info you have provided, I don't know if i18n:translate="" is
> missing from the template's options statement or if there is no
> translation for the option label. Either would result in what you see.

That would also be my first guess, on the other hand this can also
be a bug introduced with python3 support.
So if the same (unmodified) templates worked with an earlier version
of roundup and no longer works now, I would expect this.

Ralf
-- 
Dr. Ralf Schlatterbeck                  Tel:   +43/2243/26465-16
Open Source Consulting                  www:   http://www.runtux.com
Reichergasse 131, A-3411 Weidling       email: office@runtux.com
History
Date User Action Args
2018-10-11 07:07:48schlatterbecksetrecipients: + schlatterbeck, rouilj, mbehrle
2018-10-11 07:07:48schlatterbecklinkissue2551007 messages
2018-10-11 07:07:47schlatterbeckcreate