Extension talk:MultiLanguageManager
From MediaWiki.org
Contents |
[edit] Search
Is it possible to search for articles in a specific language? If I search for "news" on http://www.art122-5.net/ I get "Accueil" (French) and "Home" (English)? --Denise 21:07, 10 June 2007 (UTC)
that is not possible yet, because ... I did not think about that ... but it's a good idea :) I will try to add this in a few days --Absimiliard 21:41, 10 June 2007 (UTC)
[edit] Creating translation page
First this is a really nice extension, we migrating lots of documentation both internal & external to wiki's and we have a legal requirement to provide both Welsh & English versions and this will help us alot, thanks for your work (working on MW Verssion 1.9.2)
It would be nice if an editor could go to a page, in say English, select the language tab, put in the name of the page they wanted to link to in the second language, and if it doesn't already exist they are offered the option of creating it, selecting it's language, and the the editor is opened for them, as well as the various entries created in the new table.
May be just another section at the bottom of the Special:MultiLanguageManager page, which has a box for the new page name, a radio selector for the language of the new page and a 'create new page for translated version' button.
Tarlachmoorhouse 10:21, 11 June 2007 (UTC)
- Thanks for your comment :)
For your request, the first version (0.1.0) of this extension worked like that, but I have changed its architecture and this feature was dropped. It's not really difficult to put it back, I will try to do that next week, with the search engine
--Absimiliard 21:11, 12 June 2007 (UTC)
[edit] How can I integrate the language switch
Is a nice extension. But at the moment i have no possibility to change the Language. Can anybody give me a short example (ToDo List)? Is it possibel to change the Language with the LanguageSelector?
--Mchansy 14:36, 3 July 2007 (UTC)
hello, what is exactly your problem ?
did you install the extension and you want to know how to create a translated page ? or do you want to know how to install the language selector ? if you want you can contact me directly using http://forum.art122-5.net
If you have correctly install the extension, you have a new tab "language" you can use for setting the page language, and then you can use the same tab to say which page the current page translated
I will try to create an example
Absimiliard 19:30, 3 July 2007 (UTC)
[edit] Page name
Hello,
Thank you for this extension, it's very useful and works fine. However, a major issue remains: there's no way to create two pages with the same name, but in different languages. Many articles share the same name in several languages, especially proper names, and this is why I'm currently trying to edit MediaWiki. Sadly, I'm afraid the only thing I'll achieve is fucking up the whole piece of software, if I may say. I have a few ideas, like using different tables depending on the lang value used in the URL, but I still wanted to ask if anyone had had the same problem and, perhaps, had found a way to fix it. Thanks!
PRH.
-
- This one's easy: Just create an article named "ARTICLE" and the translations as "ARTICLE/en" or "ARTICLE/de" etc.
- To the author' A better way would be to create the ARTICLE as "ARTICLE/<language>" and have "ARTICLE/default-language" redirect to it. Then on ARTICLE, the extension either automagically redirects the user to the article in the user's preferred language, OR (if that translation doesn't exist), it redirects the user to ARTICLE/default-language. If automagic isn't possible or feasible, then create a new MAGIC WORD which will do the trick. Article creators then need to create ARTICLE containing only this magic word.
- --otheus 13:59, 26 July 2008 (UTC)
[edit] Setup problems
As documentation for setup problems and how I solved them, here the problems that I faced on 29.10.2008 and the links to the solutions. The versions were:
- MultiLanguageManager 1.0.1
- MediaWiki 1.13.2
[edit] "mlChangeLanguageForGuest failed to return a value"
Solution found in this Thread: In file MultiLanguageManager.php add at the end of the following function modules
- mlLoadMessages
- mlAddLanguageAction
- mlChangeLanguageForGuest
- mlCleanLanguageOnArticleDelete
the line return(true);
[edit] Where shall I add the language switch in my template?
Solution found in this Thread.
[edit] Mediawiki:Sidebar switch
This is nice extension, very nice: thanks! It is simple to match pages and change language: it is fantastic! Is it possible to switch Mediawiki:Sidebar page when switch page traslated.. as Art122-5 site? -- Bilardi 14:57, 9 October 2009 (UTC)