Add fr (French) language fallback for br, nrm, oc
authorFederico Leva <federicoleva@tiscali.it>
Wed, 28 Dec 2016 08:50:09 +0000 (09:50 +0100)
committerFederico Leva <federicoleva@tiscali.it>
Tue, 24 Jan 2017 06:36:31 +0000 (07:36 +0100)
A few languages of France which had not been provided with a
language fallback yet. Data clearly shows that French is known
by nearly all of their speakers and by a large majority of the
users of Wikimedia projects in those languages, while English
is known by a minority. For br and oc, no gender namespaces,
date formats etc. will be inherited.

https://translatewiki.net/wiki/Thread:Portal_talk:Br/Use_French_when_no_translation
https://translatewiki.net/wiki/Thread:Portal_talk:Nrm/Use_French_when_no_translation
https://translatewiki.net/wiki/Thread:Portal_talk:Oc/Use_French_when_no_translation

All translators have been warned and can comment above.

Additionally, there were various discussions on local wikis:
https://oc.wikipedia.org/w/index.php?diff=2040712
https://br.wikipedia.org/w/index.php?curid=130192
https://nrm.wikipedia.org/w/index.php?diff=206241

Incidentally, a majority of editors supports the fallback,
although 1 user for each of br and oc is against, citing
bad feelings/reactions towards France the state.

Change-Id: I02fc9af984f593c9e249b0007aec0ec0b4f95457

languages/messages/MessagesBr.php
languages/messages/MessagesNrm.php [new file with mode: 0644]
languages/messages/MessagesOc.php

index a2a7e7d..d7614cc 100644 (file)
@@ -8,6 +8,8 @@
  *
  */
 
+$fallback = 'fr';
+
 $namespaceNames = [
        NS_MEDIA            => 'Media',
        NS_SPECIAL          => 'Dibar',
@@ -32,6 +34,8 @@ $namespaceAliases = [
        'Kaozeadenn_Skeudenn' => NS_FILE_TALK,
 ];
 
+$namespaceGenderAliases = [];
+
 $specialPageAliases = [
        'Activeusers'               => [ 'ImplijerienOberiant' ],
        'Allmessages'               => [ 'HollGemennadennoù' ],
diff --git a/languages/messages/MessagesNrm.php b/languages/messages/MessagesNrm.php
new file mode 100644 (file)
index 0000000..6cb8c47
--- /dev/null
@@ -0,0 +1,11 @@
+<?php
+/** Norman (normaund)
+ *
+ * To improve a translation please visit https://translatewiki.net
+ *
+ * @ingroup Language
+ * @file
+ *
+ */
+
+$fallback = 'fr';
index 1d9e0e5..eb8ed88 100644 (file)
@@ -19,7 +19,7 @@
  * @author לערי ריינהארט
  */
 
-$fallback = 'ca';
+$fallback = 'ca, fr';
 
 $bookstoreList = [
        'Amazon.fr' => 'https://www.amazon.fr/exec/obidos/ISBN=$1'