Open main menu

Extension talk:Translate

About this board

Archive.


Problems about the Chinese local variant conversion are still needed to solve

1
Taiwania Justo (talkcontribs)
Reply to "Problems about the Chinese local variant conversion are still needed to solve"

By FuzzyBot, translation of all of the paragraph is overwritten in the original

1
Runequest77 (talkcontribs)

Since English is not good is the question of the automatic translation.

*1.Translated the original text

*2.Fixed only settles the original text

*3.In page translated " mark for translation "

*4.By FuzzyBot, translation of all of the paragraph is overwritten in the original .

I want to leave as it is a translation .

I'll be if I do? --~~~~

Reply to "By FuzzyBot, translation of all of the paragraph is overwritten in the original"

How to show Other languages box on all pages?

2
2A02:8109:9B40:78:2016:2294:8DA4:BF30 (talkcontribs)

Hello,

when I translate a page the other languages box is not shown on the translated page, only on the source page (<languages /> tag is in article). But how do I show it on all pages?

Nikerabbit (talkcontribs)

Make sure you mark for translation the version of source page where you added the <languages /> tag.

Reply to "How to show Other languages box on all pages?"

Disabling fancy proofreading effects

5
Summary by Nikerabbit
if ( $( document.body ).is( '.mw-special-Translate' ) ) { $.fx.off = true; }
Kranix (talkcontribs)

Is it possible to disable the 'smooth' downward scrolling each time a proofreading is saved? Proofreading can be done rather quickly if most translations are correct, so the time waiting for this effect to finish is not insignificant.

Nikerabbit (talkcontribs)

The scrolling event is very fast and non-disturbing for me (it takes longer to download the message documentation which I usually want to see). Is this not the case for you?


Without scrolling the window would eventually go out of viewport, and without any smoothness it can be confusing that a scroll actually happened.

Kranix (talkcontribs)

It is quite fast, perhaps 0.3 seconds or so. It's not much, but does add up when proofreading many short items. The documentation loads instantaneously for me. I can see quite easily when a scroll has happened, so I'd just like an option to turn it off. A bit of CSS would probably accomplish it, but I don't know CSS.

Nikerabbit (talkcontribs)

You could add something like the following to your common.js to disable all animations on the page.

if ( $( document.body ).is( '.mw-special-Translate' ) ) { $.fx.off = true; }
Kranix (talkcontribs)

Thank you. This works.

Fanatikvoice (talkcontribs)

Hi, i installed MediaWiki_Language_Extension_Bundle, add in config default settings, and i not translate page.

I make page special tag <translate> -> return page, and no see link "Translate this page", instead i see link "Make translate the page".

Pls help me.

Reply to "Is not Translate this Page"

Avoid this is a translated version advice

4
151.40.197.208 (talkcontribs)

Is there a way to avoid the "This page is a translated version of the page XXX" message inside the translated pages? I'm using the extension for a documentation site, and I'd like to remove it, at least for not logged users.

Clump (talkcontribs)

For indiscriminate removal you could add a CSS rule to not display it:

.mw-pt-translate-header {
   display: none;
}
151.40.197.208 (talkcontribs)

Thanks for the answer, but I'd like to have the information when logged, but I would like no to show it to the people who just consult the site

Nikerabbit (talkcontribs)

You could use JavaScript to make it visible again to logged in users.


There is no way to change this with configuration only.

Reply to "Avoid this is a translated version advice"

Translate Plugin is not loading the Suggestions on the "right side" of the translate view

7
80.153.99.108 (talkcontribs)

I just set up a frash mediawiki installation and installes all i needed for translating my wiki and the content. manual translations just working like expected but in that view i do not get any suggestions shown? Maybe there is any logfile i could check or is that due to a lack of configuration? (it is pretty much default). Im just wondering that is show forever "Loading..." and no content is shown as in some screenshots of that plugin.

Tuxxic (talkcontribs)

Did you configure TTMServer in the LocalSettings.php ? Link : Help:Extension:Translate/Configuration/fr

$wgTranslateTranslationServices = array(); $wgTranslateTranslationServices['TTMServer'] = array( 'database' => false, // Passed to wfGetDB 'cutoff' => 0.75, 'type' => 'ttmserver', 'public' => false, );

91.48.253.216 (talkcontribs)

that is configured in the Translate.php file like in the default with that 4 entries, so i guess i do not need to do that again in the LocalSettings file, or?

Tuxxic (talkcontribs)

You won't know unless you try, inmy opinion ;)

91.48.246.166 (talkcontribs)

well that did not help is always stays at "loading..."... any other ideas?

Cloud668 (talkcontribs)

I am also having a similar issue on 1.31/MLEB 2018.07 (PHP 7.2.9 cgi-fcgi and on IIS if that matters for whatever reasons), but in my case, the translation aids column is loading fine for page translations but not file based message groups, which only ever showed the "Loading..." string. I've tested some of the same files along with the custom FFS/YAML group configs on an older wiki I have (1.28/MLEB 2016.10/PHP 5.6.11 fpm-fcgi on Ubuntu) and it worked fine there. Both wikis are using the default DB TTM.

On the older wiki, I noticed that the column only loaded after running createMessageIndex.php, but running that on the newer one didn't really help solve the problem.

I'm not sure what could be causing the issue on the newer wiki. Any help is appreciated.

Cloud668 (talkcontribs)

Digging a little into the access logs, it seems that in my case, the problem that the aids never loaded was that the translationaids API call for all file based messages for some reason only ever returns this:

"code":"nomessagefortitle","info":"Title does not correspond to a translatable message"
Reply to "Translate Plugin is not loading the Suggestions on the "right side" of the translate view"

Error : "Saving the translation failed: This namespace is reserved for content page translations."

2
89.82.208.37 (talkcontribs)

Hello,

Please help,

I am using Mediawiki 1.30

and Language Extension Bundle MediaWikiLanguageExtensionBundle-2018.03.tar.bz2

When I try to translate this page,

https://polyglotclub.com/wiki/index.php?title=Special:Translate&group=page-Test-translate-new1&action=page&filter=&language=fr

I've enabled anonymous translating, so you can check ($wgGroupPermissions['*']['translate'] = true;)

I get the following errors :

on the screen :

"Saving the translation failed: This namespace is reserved for content page translations. The page you are trying to edit does not seem to correspond any page marked for translation."

In the javascript console :

"

Uncaught RangeError: Maximum call stack size exceeded

    at jQuery.fn.init.push (<anonymous>)

    at superMatcher (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=foreground&version=0zcenri:36)

    at Sizzle.select (load.php?debug=false&lang=en&modules=jquery%2Cmediawiki&only=scripts&skin=foreground&version=0zcenri:38)

[...]

"

I've tried to disable all other extensions.

My LocalSettings.php :

wfLoadExtension( 'Babel' );

wfLoadExtension( 'cldr' );

wfLoadExtension( 'CleanChanges' );

$wgCCTrailerFilter = true;

$wgCCUserFilter = false;

$wgDefaultUserOptions['usenewrc'] = 1;

wfLoadExtension( 'LocalisationUpdate' );

$wgLocalisationUpdateDirectory = "$IP/cache";

require_once "$IP/extensions/Translate/Translate.php";

$wgGroupPermissions['user']['translate'] = true;

$wgGroupPermissions['user']['translate-messagereview'] = true;

$wgGroupPermissions['user']['translate-groupreview'] = true;

$wgGroupPermissions['user']['translate-import'] = true;

$wgGroupPermissions['sysop']['pagetranslation'] = true;

$wgGroupPermissions['sysop']['translate-manage'] = true;

$wgTranslateDocumentationLanguageCode = 'qqq';

$wgExtraLanguageNames['qqq'] = 'Message documentation'; # No linguistic content. Used for documenting messages

wfLoadExtension( 'UniversalLanguageSelector' );

Nikerabbit (talkcontribs)
Reply to "Error : "Saving the translation failed: This namespace is reserved for content page translations.""

A Bug in the tool associated with heading

2
Summary by Nikerabbit
Ranjithsiji (talkcontribs)

If I start a new translation using this tool it will not ask for the new title of the new article in new language instead it uses the title from source language resulting a lot of articles created in the foreign language in a wiki. for example, I try to translate an article from Hindi to Engish in English wiki it will start the article title as the title in Hindi. Resulting creating an article with a title in Hindi in English wiki. The UI does not look like we can edit the title. A popup box or an intermediate title asking box is helpful to solve this problem.

Nikerabbit (talkcontribs)

Are there Active steps planned for the internationalization of category names?

2
Summary by Nikerabbit

Some plans yes, not very active. It is a question of MediaWiki core rather than Translate.

Atef81 (talkcontribs)

I am starting a multilingual environment that will have mainly 4 languages. The problem is that the language that will have the most content is Arabic, and my aim is to get as much content translated to the other languages.

When I tried the Translate extension, it worked, but having the categories names in Arabic then "/en" and "/fr" is not practical as non Arabic speakers will find it impossible to understand.

I checked several forums and read that there are steps in the pipeline to rectify this. However, I can't find enough information about this on the Extension official page.

I am trying to start from a page like this and reach an end result like this, where page title and category names are translated to the article language.

Is this likely to be an option soon, or I need to setup a family of wikis that share the same resources like this Mediawiki manual?

@Nikerabbit

Nikerabbit (talkcontribs)

Thanks for asking!

Due to possible naming conflicts, it's not a good idea to translate the actual page titles, unless you disambiguate them with a language code anyway.

But what you can do is to use the feature to translate the (category) page title. This does not affect the URL of the page, nor any links to that page. However, there are feature requests for MediaWiki core to use this translated title in links, including the category list at the bottom of the pages. It is not clear, though, when these will happen. I believe the features are not controversial, but some performance concerns must be taken into account while implementing them.

Some links:

Return to "Translate" page.