Extension talk:Translate

Jump to navigation Jump to search

About this board

Archive.


Suggestion: "Translation" section is Special:SpecialPages

1
DannyS712 (talkcontribs)

I'd like to suggest that the pages added by this extension have their own section in Special:SpecialPages. For normal users, the following pages are accessible

  1. Search translations
  2. Translate
  3. All translations
  4. Translator signup
  5. Export translations
  6. Language statistics
  7. Message group stats
  8. Supported languages

which are distributed throughout the different sections. Translation admins also have

  1. Aggregate groups
  2. Import translations
  3. Prepare page for translation
  4. Translation page migration
  5. Notify translators
  6. Change page language

And there may be more that are only visible to full administrators. Having this many special pages for the extension means that it would make sense to group them together, rather than the way they are now. Thoughts?

Reply to "Suggestion: "Translation" section is Special:SpecialPages"

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)