Index: trunk/phase3/languages/Language.php |
— | — | @@ -1163,6 +1163,9 @@ |
1164 | 1164 | $fallbackChain[] = $code; |
1165 | 1165 | $code = self::getFallbackFor( $code ); |
1166 | 1166 | } |
| 1167 | + if ( !in_array( 'en', $fallbackChain ) ) { |
| 1168 | + $fallbackChain[] = 'en'; |
| 1169 | + } |
1167 | 1170 | $fallbackChain = array_reverse( $fallbackChain ); |
1168 | 1171 | foreach ( $fallbackChain as $code ) { |
1169 | 1172 | if ( isset( $newWords[$code] ) ) { |