Help:Extension:Translate/Configuration/ca

El MediaWiki Language Extension Bundle us proporciona tot el codi i els passos instal·lació realment necessaris per configurar Translate; aquesta pàgina entra en detalls sobre les opcions de configuració en cas que necessiti ajustar més l'extensió, i no n'heu tingut prou amb la introducció i requisits d'instal·lació.

Exemple de configuració
Aquesta configuració es troba (com en d'altres extensions) en el, en el directori rel de MediaWiki.

Drets d'usuari
L'extensió Translate introdueix nous drets d'usuari:

Variables de configuració
The following documentation is copied from  for your convenience. Configuration options change over time, so if in doubt, the documentation in your Translate.php is the best one. For the record this is for 2016-04-21.

Traducció de les pàgines
Si hi ha un problema amb l'espai de noms, mentre es tradueixen les pàgines traduïbles (símptomes: definició que no es mostra, títol de la pàgina comença amb punt i coma), afegiu aquestes dos línies a LocalSettings.php: This problem occurs if something unstubs Language class very early, and because we are adding the namespace late to have them conditionally enabled.

Translation page is empty or error 'Unbalanced &lt;translate> tag' shown
Provided that the closing &lt;/translate> tag exists, the source page is too big. This starts happening with some translations if the source page size is near 50 kilobytes. Make the page shorter or increase pcre.backtrack_limit by setting ini_set( 'pcre.backtrack_limit', 400000 ); in LocalSettings.php or pcre.backtrack_limit=400000 in your PHP configuration (php.ini).

Fonts with PHPlot
If characters in some languages show up as boxes, first check that you have a suitable font installed. If that doesn't help, enable the font debugging log. You may need to clear your MediaWiki cache first. On some systems PHP is not allowed to access the fonts the fc-list command provides. $wgDebugLogGroups['fcfont'] = '/path/to/writable/logfile';

In TUX mode (the new UI) no messages are shown
If you have overridden, make sure task   is not excluded from it.

The tool doesn't load in Special:Translate
If you see something like this with endless "Loading messages...", the ResourceLoader is broken: set  or lower until it works.

If that's not enough, have you remembered to install and enable ?

Saving translation fails with Unknown error: "tpt-unknown-page"
This happens when page has been marked for translation, but the background job has not yet been processed. In this case you can run job queue manually, or even better, setup continuous job running as described in.

Possibly also, the required extension UniversalLanguageSelector was loaded with  but the extension Translate is loaded with , making UniversalLanguageSelector only half-loaded and creating this issue.