Re: Does anybody have the mail gateway working with translations?

"John P. Rouillard" <[email protected]> Thu, 12 May 2022 21:40:18 -0400
Newsgroups gmane.comp.bug-tracking.roundup.devel
Message-ID <[email protected]>
In message <[email protected]>,
Thomas Arendsen Hein writes:
>Not in the mailgw, but related to email: Password reset mails
>
>I have tested a roundup instance with German as default language and
>a browser requesting pages in German, the tracker shows German text,
>but the email is in English language.

In changeset 6676:b336cc98d9d2 I marked the strings for translation.
I followed the same conversions as elsewhere in the methods, eiher
using self._() or using _(). Not sure why we have different
convertions. I am not 100% sure that these are pointing to the same
translators localized for the language. Best case these will translate
the email using the same language as the web interface. I think that's
what we want.

Note that neither the password reset code nor the registration code is
covered by the test framework.

Thomas do you think you could try checking this. It should be:

  Check out the code
  update the .po file (your German is better than mine 8-))
  make new .mo files (run make in locale/)
  run the demo tracker
  stop the tracker and set config.ini's [mailer] debug to a file
  start demo tracker again
  choose german as the language (I think adding @language=de as a query
    param to a url should do it

try a password reset or a registration and see if the debug file has
emails that are translated.

I think you have checkin privs as well so if it works check the .po
file in.

Have a great weekend.

--
				-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.