how to import/read data from one plugin to another?

arun kumar arunkumar0107 at gmail.com
Mon Mar 30 04:01:47 EDT 2009


i dont want to call translation plugin as and when there is an update
in lang_prefs plugin..i want to read the lan_prefs plugin when im
translating a message......

for ex.
x's lang is eng and y's lang is french

x has translation plugin in his pidgin. x  specifies in his lan_pref
plugin that y' s lang is french

now assume x wants to send a message to y

x's translation plugin doesnot know to which lang should the x's
message be  translated into

it now reads the lan_pref plugin to find out that y's lang is french

hence translates x's message into french and sends it



tell me if  there is a way to do it please...



cheers,
arun





On Mon, Mar 30, 2009 at 12:32 AM, Ka-Hing Cheung <khc at hxbc.us> wrote:
> On Sun, 2009-03-29 at 23:48 -0700, Mark Doliner wrote:
>> But I wonder, does it make sense for that to be two separate plugins?
>> It seems like the translation plugin depends on the lan_pref plugin.
>> And the lan_pref plugin doesn't seem very useful without the
>> translation plugin.
>
> A language option makes sense even without translation though, such as
> to enable better locale conversion on legacy protocols.
>
> -khc
>
>
>




More information about the Devel mailing list