summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-February/002775.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-February/002775.html')
-rw-r--r--zarb-ml/mageia-sysadm/2011-February/002775.html129
1 files changed, 129 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-February/002775.html b/zarb-ml/mageia-sysadm/2011-February/002775.html
new file mode 100644
index 000000000..47bb0e11f
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2011-February/002775.html
@@ -0,0 +1,129 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] mediawiki
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20mediawiki&In-Reply-To=%3C201102172042.21228.bgmilne%40staff.telkomsa.net%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="002772.html">
+ <LINK REL="Next" HREF="002776.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] mediawiki</H1>
+ <B>Buchan Milne</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20mediawiki&In-Reply-To=%3C201102172042.21228.bgmilne%40staff.telkomsa.net%3E"
+ TITLE="[Mageia-sysadm] mediawiki">bgmilne at staff.telkomsa.net
+ </A><BR>
+ <I>Thu Feb 17 19:42:21 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="002772.html">[Mageia-sysadm] mediawiki
+</A></li>
+ <LI>Next message: <A HREF="002776.html">[Mageia-sysadm] mediawiki
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2775">[ date ]</a>
+ <a href="thread.html#2775">[ thread ]</a>
+ <a href="subject.html#2775">[ subject ]</a>
+ <a href="author.html#2775">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On Thursday, 17 February 2011 17:56:23 Michael Scherer wrote:
+&gt;<i> Le jeudi 17 f&#233;vrier 2011 &#224; 17:32 +0200, Buchan Milne a &#233;crit :
+</I>&gt;<i> &gt; On Thursday, 17 February 2011 12:40:51 Buchan Milne wrote:
+</I>&gt;<i> &gt; 1 i-default
+</I>
+I've added some debug logging (see patch below).
+
+Firefox, to which I have added a number of languages, shows:
+
+[info] Languages: en-za,en-gb,en-us,en,af,nl,i-default, default: af, saving:
+en-za
+
+(So, in this case, the interface is displayed in Afrikaans ... I guess I need
+to create at least 3 English translations - en, en_us, en_gb)
+
+Chromium with default language settings shows:
+
+[info] Languages: en-gb,en-us,en,i-default, default: en, saving: en-gb
+
+So, I can imagine a case where it is the only language listed. In this case, I
+think we should either not set preferredLanguage, or set it to en.
+
+&gt;<i> &gt; 1 es-pe
+</I>&gt;<i> &gt; 1 cs-cz
+</I>&gt;<i>
+</I>&gt;<i> Theses 3 one are likely wrong ( according to IANA registry )
+</I>
+Do you have a URL handy?
+
+&gt;<i> &gt; I guess I should filter these out, and replace with
+</I>&gt;<i> &gt; en,fr,es,ru,it,fi,et,es,tr ? I will fix the wrong ones in LDAP later.
+</I>&gt;<i>
+</I>&gt;<i> How can we enforce correct entry ? Should we maybe have a whitelist, and
+</I>&gt;<i> receive a monthly mail about wrong one ?
+</I>
+May be a good idea. Or, we could use slapo-constraint (with regex, or dynamic
+list in LDAP)
+
+Maybe we should also compare to what localisation teams we have (or don't
+have), and indicate to users whose preferred languages isn't localised that
+they could contribute in that way.
+
+&gt;<i> ( if we start to use the data, we should have them correct I think ).
+</I>
+Well, password reset by admin (e.g. for privileged user) currently uses it to
+try and get the email notification to the user in the right language.
+
+Regards,
+Buchan
+
+===================================================================
+--- lib/CatDap/Controller/register.pm (revision 568)
++++ lib/CatDap/Controller/register.pm (working copy)
+@@ -25,6 +25,8 @@
+
+ sub index :Path :Args(0) : Form {
+ my ( $self, $c ) = @_;
++ my $langs = join ',',@{$c-&gt;languages};
++ $c-&gt;log-&gt;info(&quot;Languages: $langs, default: &quot; . $c-&gt;language . &quot;, saving:
+&quot; . ${$c-&gt;languages}[0]);
+
+ #my $form = Catalyst::Controller::HTML::FormFu-&gt;form();
+ #$c-&gt;response-&gt;body('Matched CatDap::Controller::register in register.');
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="002772.html">[Mageia-sysadm] mediawiki
+</A></li>
+ <LI>Next message: <A HREF="002776.html">[Mageia-sysadm] mediawiki
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2775">[ date ]</a>
+ <a href="thread.html#2775">[ thread ]</a>
+ <a href="subject.html#2775">[ subject ]</a>
+ <a href="author.html#2775">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
+mailing list</a><br>
+</body></html>