Meta:Translation

From protonation
Jump to navigation Jump to search

Here be notes on the translation of this wiki.

Unstructured element translation

Usage

{{int:message}}

Settings

LocalSettings.php
$wgHooks['TranslatePostInitGroups'][] = function ( &$list, &$deps, &$autoload ) {
	$id = 'mymdb';
	$mg = new WikiMessageGroup( $id, 'mymdb-messages' );
	$mg->setLabel( 'MyMDb' );
	$mg->setDescription( 'Messages used in MyMDb.' );
	$list[$id] = $mg;
	return true;
};

The above creates the message group MyMDb: http://meta.protonotarios.eu/wiki/index.php?title=Special:Translate&language=el&group=mymdb&filter=&action=translate

Messages

Farm-Fresh hand point.png Tip: Every time this list gets updated, select all, copy and paste into message above. Then search and replace all MediaWiki: with nothing, and save.

External links