8 * @author Rob Church <robchur@gmail.com>
10 * @copyright Copyright © 2006, Rob Church
11 * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License 2.0 or later
14 require_once( 'LanguageEs.php' );
16 if (!$wgCachedMessageArrays) {
17 require_once('MessagesNah.php');
20 class LanguageNah
extends LanguageEs
{
22 # Per conversation with a user in IRC, we inherit from Spanish and work from there
23 # Nahuatl was the language of the Aztecs, and a modern speaker is most likely to
24 # understand Spanish if a Nah translation is not available
26 function getMessage( $key ) {
27 global $wgAllMessagesNah;
28 return isset( $wgAllMessagesNah[$key] ) ?
$wgAllMessagesNah[$key] : parent
::getMessage( $key );