On 12.09.2011 14:42, Marcin Mirosław wrote: > I've found polish translations in file /var/lib/[..]/30_text_pl.cf , you > should have it. I've tested on my box what to do to have description not > translated;) Enviroment variable "LANGUAGE" is responsible for version > of description used in report: > > $ LANGUAGE=de ;spamassassin -xtL < q1R35OW-38036633 > 3.8 BAYES_99 BODY: Spamwahrscheinlichkeit nach Bayes-Test: 99-100%
OK, I see only few descriptions are really translated, and the language I'm interested in mostly (Portuguese) barely has any translations: # wc -l /usr/share/spamassassin/30_text* 401 /usr/share/spamassassin/30_text_de.cf 287 /usr/share/spamassassin/30_text_fr.cf 35 /usr/share/spamassassin/30_text_it.cf 278 /usr/share/spamassassin/30_text_nl.cf 268 /usr/share/spamassassin/30_text_pl.cf 69 /usr/share/spamassassin/30_text_pt_br.cf And if the description is not available in a given language, it will be displayed in English. I.e. for Polish, it would translate just HTML_MESSAGE: Szczeg��y analizy zawarto�ci: (3.3 zaliczonych, 5.0 wymaganych) $ LANGUAGE=pl ; spamassassin -xtL < /tmp/new.eml (...) pkt nazwa regu�y kr�tki opis ---- ---------------------- ------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (e.thomps[at]aol.com) 0.0 HTML_MESSAGE BODY: Wiadomo�� zawiera kod HTML 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid 3.3 FREEMAIL_REPLYTO Reply-To/From or Reply-To/body contain different freemails 0.0 T_TO_NO_BRKTS_FREEMAIL To: misformatted and free email service For pt_br, it wouldn't translate anything: $ LANGUAGE=pt_br ; spamassassin -xtL < /tmp/new.eml (...) pts regra descri��o ---- ---------------------- -------------------------------------------------- 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (e.thomps[at]aol.com) 0.0 HTML_MESSAGE BODY: HTML included in message 0.0 T_DKIM_INVALID DKIM-Signature header exists but is not valid 3.3 FREEMAIL_REPLYTO Reply-To/From or Reply-To/body contain different freemails 0.0 T_TO_NO_BRKTS_FREEMAIL To: misformatted and free email service Does anyone have any more translations? :) -- Tomasz Chmielewski http://wpkg.org