#1569: MediaWiki plugin localization
--------------------------------------------+-------------------------------
Reporter: B_aniaczek | Owner:
Type: New Feature | Status: new
Priority: Normal | Milestone:
Component: Project : MediaWiki+FCKeditor | Version:
Resolution: | Keywords: Review-
--------------------------------------------+-------------------------------
Changes (by wwalc):
* keywords: Review? => Review-
Comment:
Looks promising, but a couple of things must be fixed:
1. this patch is invalid, it is based on revisions from your local
repository.
2. all elements with fcklang attribute must have the default text value.
So instead of:
{{{<span fcklang="wikiImgFileName"></span>}}}
we need this:
{{{<span fcklang="wikiImgType">Image file name</span>}}}
to see why it is so important, define language file with missing strings.
3. function plural is specific, valid only for Polish language. This is
much more complex thing, so let's not use it at all unless FCKeditor will
support it in the core. Let's use the current way of defining strings with
numbers (just "no", "one", "many").
4. In FCKeditor.body.php AutoDetectLanguage is set to false and
DefaultLanguage is set to $userLang. I suppose this may cause troubles if
Mediawiki uses language that is not supported by FCKeditor. I think you
could try to detect if MediaWiki language is supported by FCKeditor and
only then set DefaultLanguage to $userLang (Auto detection should be
enabled by default and it should be possible to disable language detection
via user settings with UserToggles hook).
5. Instead of
{{{FCKConfig.Plugins.Add( 'mediawiki', MediaWikiPluginLanguage) ;}}}
specify all available languages at this moment
{{{FCKConfig.Plugins.Add( 'mediawiki', 'en,pl') ;}}}
--
Ticket URL: <http://dev.fckeditor.net/ticket/1569#comment:4>
FCKeditor <http://www.fckeditor.net/>
The text editor for Internet
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
FCKeditor-Trac mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/fckeditor-trac