Difference between revisions of "Internationalisation"
Line 38: | Line 38: | ||
And install Mediawiki extension Translate : https://www.mediawiki.org/wiki/MediaWiki_Language_Extension_Bundle | And install Mediawiki extension Translate : https://www.mediawiki.org/wiki/MediaWiki_Language_Extension_Bundle | ||
+ | |||
+ | === To do === | ||
+ | |||
+ | * add link 'translate' to each page not translated | ||
+ | * change translate page to use forms. We may need to use specifics templates for translation. |
Revision as of 16:09, 17 November 2016
Contents
Context
Today wikifab has 2 websites :
- http://beta.wikifab.org : the first version in french
- http://en.wikifab.org : the english version
This requires that users create one account on each platform, and tutorials must be created separately on each site.
We want to have only one website, with translation features included. So that every tutorial can be easily translate to be available in many languages.
Mediawiki has an extension for this : Translate ( https://www.mediawiki.org/wiki/Extension:Translate ) this enable that each page of the wiki can be translated. Wikifab use the PagesForm extension https://www.mediawiki.org/wiki/Extension:Page_Forms (extensions called previously SemanticsForm ). Unfortunately, this extension doesn't support page translation.
state of the art
installation guide
To develops this feature, you can either install a wikifab wiki and add Translate extension, or just install a mediawiki with Translate and PageForm extensions :
Install wikifab site
Follow the tutorial here : https://github.com/Wikifab/wikifab-main
Then install Mediawiki extension Translate, see instructions here : https://www.mediawiki.org/wiki/MediaWiki_Language_Extension_Bundle
Install empty mediawiki with extension Translate and PageForm
Here are the commands to install ( proccess for ubuntu)
wget https://releases.wikimedia.org/mediawiki/1.27/mediawiki-1.27.1.tar.gz tar -xzf mediawiki-1.27.1.tar.gz mv mediawiki-1.27.1 translation.wikifab cd translation.wikifab cd extensions git clone https://github.com/wikimedia/mediawiki-extensions-PageForms PageForms
And install Mediawiki extension Translate : https://www.mediawiki.org/wiki/MediaWiki_Language_Extension_Bundle
To do
- add link 'translate' to each page not translated
- change translate page to use forms. We may need to use specifics templates for translation.