You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by he...@apache.org on 2019/08/13 06:05:23 UTC

svn commit: r1865010 - /spamassassin/trunk/lib/Mail/SpamAssassin/Conf.pm

Author: hege
Date: Tue Aug 13 06:05:22 2019
New Revision: 1865010

URL: http://svn.apache.org/viewvc?rev=1865010&view=rev
Log:
Bug 5685 - clarify "lang xx" setting

Modified:
    spamassassin/trunk/lib/Mail/SpamAssassin/Conf.pm

Modified: spamassassin/trunk/lib/Mail/SpamAssassin/Conf.pm
URL: http://svn.apache.org/viewvc/spamassassin/trunk/lib/Mail/SpamAssassin/Conf.pm?rev=1865010&r1=1865009&r2=1865010&view=diff
==============================================================================
--- spamassassin/trunk/lib/Mail/SpamAssassin/Conf.pm (original)
+++ spamassassin/trunk/lib/Mail/SpamAssassin/Conf.pm Tue Aug 13 06:05:22 2019
@@ -5297,15 +5297,22 @@ sub perl_min_version_5010000 { return $]
 1;
 __END__
 
-=head1 LOCALI[SZ]ATION
+=head1 LOCALISATION
 
-A line starting with the text C<lang xx> will only be interpreted
-if the user is in that locale, allowing test descriptions and
+A line starting with the text C<lang xx> will only be interpreted if
+SpamAssassin is running in that locale, allowing test descriptions and
 templates to be set for that language.
 
+Current locale is determined from LANGUAGE, LC_ALL, LC_MESSAGES or LANG
+environment variables, first found is used.
+
 The locales string should specify either both the language and country, e.g.
 C<lang pt_BR>, or just the language, e.g. C<lang de>.
 
+Example:
+
+ lang de describe EXAMPLE_RULE Beispielregel
+
 =head1 SEE ALSO
 
 Mail::SpamAssassin(3)