SMW notes: Difference between revisions

Jump to navigation Jump to search
1,258 bytes added ,  29 September 2009
Line 125: Line 125:


$smwgNamespacesWithSemanticLinks array
$smwgNamespacesWithSemanticLinks array
== Multi language SMW ==
(From Temlakos on the mailing list regarding <http://creationwiki.org/ and http://creationwiki.org/fr/)
Here's how I do it: As I have said many times before, I routinely
declare all properties. And every declaration that is implemented in
both languages, has the language-specific Interwiki prefix added, so
that you can follow a property declaration from one language to the
other and back.
All that is involved is making parallel property declarations and
placing Interwiki language links in each one.
In general: a multilingual wiki is actually a family of wikis, each set
up in its own language.
The important part is to make sure that the SMW language files exist in
each language in which you are planning to implement SMW. Right now the
language support is a little thin, in comparison to the incredible
multiplicity of languages on Wikipedia. So those of you who are trying
to persuade Wikipedia to implement SMW across their project will have an
immediate problem: you don't support more than a handful of the
languages they use.
...
anyone who implements SMW in an unsupported language is going to have to
write a language file. And make sure that his language is supported in
SMW_Aliases.php and SMW_Messages.php.


== Media ==
== Media ==

Navigation menu