https://bugzilla.wikimedia.org/show_bug.cgi?id=43144

--- Comment #2 from Matthew Flaschen <[email protected]> ---
We want i18n for built-in tours and user-defined ones to work essentially the
same
way.  That will allow a local tour to easily be copied to the extension
itself with minimal fuss.

Ori and I talked for a while yesterday, and came up with an idea that
should work for both pre-defined and user tours. Basically, each tour
would have a group of i18n messages with a defined prefix schema.  E.g.
MediaWiki:GuidedTour/mytour/message,
MediaWiki:GuidedTour/mytour/othermessage, where mytour is the tour name.
 The actual tour would be MediaWiki:GuidedTour/mytour.js, and that would
refer to required messages (message, othermessage) by key.

The pre-defined tours would also fit this naming scheme, but the
messages would be installed by the extension, and should be translatable
through TranslateWiki.

This prefix scheme may require hooking into ResourceLoader.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to