>
> Take a look at the CentralNotice extension. It provides it's own interface
> for adding custom translatable messages. There might be some code there
> that is useful to you.
Sadly unlikely; CN adds messages by creating WikiPages.
~Matt Walker
Wikimedia Foundation
Fundraising Technology Team
Take a look at the CentralNotice extension. It provides it's own
interface for adding custom translatable messages. There might be some
code there that is useful to you.
Ryan Kaldari
On 4/8/13 12:05 PM, Yuri Astrakhan wrote:
Hi, I need to use the localization framework - wfMessage() to transl
On 04/08/2013 03:21 PM, Yuri Astrakhan wrote:
> * Figure out which localized string to use for language X, in case there is
> no message in X. Something like "use Russian if Belarusian message is not
> available". I remember this was present in pywiki framework, and suspect
> mediawiki has it somew
> So, we used to have a $messagecache->add(), but it was removed
> after a very very long deprecation.
>
Just when I was about to use it :) I basically look for this functionality:
* Figure out which localized string to use for language X, in case there is
no message in X. Something like "use Ru
On Mon, Apr 8, 2013 at 3:05 PM, Yuri Astrakhan wrote:
> // Some magic method to add the entire message map into message cache
> messageCache->Add('custom-key1', $messageMap);
>
So, we used to have a $messagecache->add(), but it was removed
after a very very long deprecation.
-Chad
_
>
> I have a message dictionary in the form of
> {languageCode => message, ...}, and looking for a way to inject those
> messages into the message cache.
My immediate reaction was to suggest that you create wikipages of all the
messages. But I'm guessing this is for Zero and you can't have those
Hi, I need to use the localization framework - wfMessage() to translate my
own custom messages. I have a message dictionary in the form of
{languageCode => message, ...}, and looking for a way to inject those
messages into the message cache. The actual messages dictionary is stored
as a custom sett