Last modified: 2011-07-09 18:30:38 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T31664, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 29664 - Translating de->en uses the wrong default language
Translating de->en uses the wrong default language
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
Translate (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Niklas Laxström
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-07-01 07:01 UTC by Harald Stowasser
Modified: 2011-07-09 18:30 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Harald Stowasser 2011-07-01 07:01:06 UTC
Hello,

we have a running Mediawiki in German language (de). Now we need to translate it into English(en).
So I installed the Translation extension. But when I want to translate an article it seems to ignore the Default language[1]:

If I Mark an (de)Article for translation and go to title=Spezial:Translate&group=page|test&language=en then there are no untranslated parts. Which is wrong because the site was in German.

On the other side  
title=Spezial:Translate&task=untranslated&group=page|I18n+test&language=de
shows all the german parts as "not translated". Which is just as wrong.

Translate Should use the Default (wgLanguageCode) to determine the basic Language, or there should be an Option per Page to set the origin language.

P.S. is there any workaround to avoid the false behavior?



with kind regards

   Harald
       
  

[1]
grep 'wgLanguageCode' LocalSettings.php
//$wgLanguageCode = "de";
$wgLanguageCode = "De";
(I tried both versions, no difference)
Comment 1 Niklas Laxström 2011-07-01 07:18:49 UTC
The inherent assumption that English is the source language is evident in many places. This can be fixed but it will take some effort.


You can join us at IRC on #mediawiki-i18n in FreeNode or at http://translatewiki.net/wiki/Support and tell us how do you want to use this extensions. We can provide you better support and make the Translate extension better when we know the needs of our users.
Comment 2 Niklas Laxström 2011-07-09 18:30:38 UTC
I improved your patch further, please text r91796. Thank you.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links