i18n in Frameworks, the lightweight version

Aaron J. Seigo aseigo at kde.org
Tue Dec 6 14:02:07 UTC 2011


On Tuesday, December 6, 2011 14:14:44 Chusslove Illich wrote:
> > [: Aaron J. Seigo :]
> > when there is already one implementation that comes bundled with Qt and
> > does everything needed/wanted, it is simply impossible to justify that
> > kind of dependency on a small device. [...] in this case, another option
> > is to not remove translation scripting on such systems (and therefore the
> > dependency), but that would be a shame imho.
> 
> Frankly, I'm inclined to completely ignore such a limited device in any
> decision concerning a general piece of software.

you are free to ignore it. hopefully i am free to not ignore it, however. :)

with plasma active, our mid-term goal is to get disk and memory usage down to 
the point where we can confidently put it on devices with 256MB of RAM and less 
than 1GB of storage and have something pleasant and usable. we have a ways to 
go yet (obviously :), but if we get blocked from making these kinds of changes 
in frameworks code then we're unlikely to achieve success.

so if the optimization can be made without side effects and someone is willing 
to do the work, how can we justify saying "no, please don't improve the code"?

as a team collaborating on frameworks, we need to be sensitive to the needs 
and goals of each other and accomodate those goals when they don't conflict 
with our own. and when they do conflict, we should work on finding compromise if 
possible.

hopefully that makes sense to everyone :)

> I don't think it would be a shame at all to kill translation scripting on
> such a device. It could even result in non-negligible performance gain in
> some contexts (especially in latency, when stuff is loaded). The kill switch
> already exists in the code, and can be thrown in kdeglobals. This
> functionality should remain, KJS or QtScript.

interesting; i can't locate the config key to use by looking at the code. where 
might i find this, as it could be a nice improvement for Plasma Active 2.

> (I would additionaly provide a
> build system switch, to not even compile the scripting module.)

assuming this doesn't greatly deteriorate the quality of translations and that 
it remains compatible with existing translations, then this could go into the 
mobile build profile.

-- 
Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20111206/bbb8af2e/attachment.sig>


More information about the Kde-frameworks-devel mailing list