This is done experimentally, with only a Names.php entry and namespace translations, before we have actual localized strings. For details, see https://www.mediawiki.org/wiki/Future_of_Language_Incubation. I've tested it on my local MediaWiki instance, and it works as expected: no user interface translations, but the namespaces appear corretly in page titles, Special:AllPages, etc., when `$wgLanguageCode = 'nr'` is set in LocalSettings.php, and the language name appears correctly in the dropdown in the "Internationalisation" section in the Preferences. Bug: T375377 Change-Id: I44cf6a6dabf2ade873506a78573db4f7783a9c99
28 lines
869 B
PHP
28 lines
869 B
PHP
<?php
|
|
/** Southern Ndebele (isiNdebele seSewula)
|
|
*
|
|
* @file
|
|
* @ingroup Languages
|
|
*
|
|
* @author Bobbyshabangu
|
|
* @author Amir E. Aharoni
|
|
*/
|
|
|
|
$namespaceNames = [
|
|
NS_MEDIA => 'Iinrhatjhi',
|
|
NS_SPECIAL => 'Khethekileko',
|
|
NS_TALK => 'Asiqongelane',
|
|
NS_USER => 'Umsebenzisi',
|
|
NS_USER_TALK => 'Umsebenzisi_asiqongelane',
|
|
NS_PROJECT_TALK => '$1_asiqongelane',
|
|
NS_FILE => 'Isimumathi',
|
|
NS_FILE_TALK => 'Isimumathi_asiqongelane',
|
|
NS_MEDIAWIKI => 'MediaWiki',
|
|
NS_MEDIAWIKI_TALK => 'MediaWiki_asiqongelane',
|
|
NS_TEMPLATE => 'Umhlahlandlelasakhiwo',
|
|
NS_TEMPLATE_TALK => 'Umhlahlandlelasakhiwo_asiqongelane',
|
|
NS_HELP => 'Lisizo',
|
|
NS_HELP_TALK => 'Lisizo_asiqongelane',
|
|
NS_CATEGORY => 'Mkhakha',
|
|
NS_CATEGORY_TALK => 'Mkhakha_asiqongelane',
|
|
];
|