diff options
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-February/002775.html')
-rw-r--r-- | zarb-ml/mageia-sysadm/2011-February/002775.html | 129 |
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: +><i> Le jeudi 17 février 2011 à 17:32 +0200, Buchan Milne a écrit : +</I>><i> > On Thursday, 17 February 2011 12:40:51 Buchan Milne wrote: +</I>><i> > 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. + +><i> > 1 es-pe +</I>><i> > 1 cs-cz +</I>><i> +</I>><i> Theses 3 one are likely wrong ( according to IANA registry ) +</I> +Do you have a URL handy? + +><i> > I guess I should filter these out, and replace with +</I>><i> > en,fr,es,ru,it,fi,et,es,tr ? I will fix the wrong ones in LDAP later. +</I>><i> +</I>><i> How can we enforce correct entry ? Should we maybe have a whitelist, and +</I>><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. + +><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->languages}; ++ $c->log->info("Languages: $langs, default: " . $c->language . ", saving: +" . ${$c->languages}[0]); + + #my $form = Catalyst::Controller::HTML::FormFu->form(); + #$c->response->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> |