Template:Language/Bar

Usage
The template is using a category subpage as selector and separator of language dependant content.

The template is maintained per category subpage (e.g. SMW_extensions/en, SMW_extensions/de, SMW_extensions/fr etc.) while everything else will be handled and transcluded by related templates.

The language bar on the right side will give access to all pages in a category wich have/haven't assigned a Docinfo language property.

Add a new language
The current category language bar contains Dutch, English, French, German (copied from German Wikipedia), Japanese and Chinese (zh-hans) translations.


 * 1) Add relevant subpage links in the Template:Language/Category bar
 * 2) Add relevant translations in Template:Language/Category query/Counter and Template:Language/Category query/Header

Example
Examples can be seen here and there.

Migration
A general concern is that the category page itself will still display all pages assigned to that category while their are three ways of solving this dilemma by
 * 1) hiding category content using ( #mw-pages {display: none;} and #mw-category-media {display: none;} ).
 * 2) or to create a #REDIRECT to the English default subpage (e.g. #REDIRECT Category:SMW_extensions/en
 * 3) or mws:Extension:CategoryMagicWords

Neither of them have been applied (as of 2012/03/05)

Appendix
Some pages using Property::Language code therefore both Docinfo language:: OR Language code:: selection are used.