[IAEP] Any way to hide google translation stuff in the printable version of wiki pages?

Tomeu Vizoso tomeu at sugarlabs.org
Fri Aug 7 02:47:14 EDT 2009


On Fri, Aug 7, 2009 at 03:24, Gary C Martin<gary at garycmartin.com> wrote:
> Hi Kevin,
>
> On 6 Aug 2009, at 23:32, Kevin Cole wrote:
>
>> On Thu, Aug 6, 2009 at 17:52, Gary C Martin <gary at garycmartin.com>
>> wrote:
>>
>>> Hmmm, wow folks actually still print? :-) I had a colleague who would
>>> incessantly print out every email she received and file it away by
>>> date,
>>> that was quite fun to watch ;-) On a community wiki, material is
>>> going to be
>>> out of date _really_ fast if you're referring to a print-out.
>>
>> I frequently find myself in situations where I have but one
>> computer, and
>> browsing the documentation while trying to do something else on the
>> same
>> computer (particularly the XO), is a RPITA.
>>
>>>> One benefit now is that all pages have translation links.
>>>>
>>>
>>> True, though I'm still not keen on all the vertical scrolling into
>>> empty
>>> space.
>>
>> My original thought (which Dave Bauer filled in what I left unsaid)
>> was
>> using either a class or id attribute on the <div> and/or <table>
>> within it,
>> and then setting that class/id to display:none for @media print.
>> This would
>> avoid the empty space you're referring to: Pages would show up as
>> most do
>> now, but when printed, all the translation magic would disappear
>> from the
>> printout.
>
> That would be cool, it's some css magic I wasn't aware of.
>
>> Barring that solution, would you be okay with something that
>> rearranged the
>> order of the sidebar to minimize scrolling?  (Of course, different
>> people
>> are going to want different stuff at the top...)
>>
>>> -.8 if it comes to a vote :-)
>>
>> Tell us how you REALLY feel. ;-)
>
> Well a re-arrange would help a little, still, mark me down as a -.75
> for the side bar (it was already too big to be honest) ;-)

What about using a dropdown menu? I think ASLO uses that.

Regards,

Tomeu

> Just did some testing – I've modified the Activity Team page with the
> below snippet:
>
> <noinclude><div class="noprint">{{GoogleTrans-en}}{{TeamHeader|
> Activity Team}}</div></noinclude>
>
> ...and all the google translate is removed when printing:
>
>        http://wiki.sugarlabs.org/go/Activity_Team
>
> Can you give it a quick test and confirm?
>
> Regards,
> --Gary
>
> _______________________________________________
> IAEP -- It's An Education Project (not a laptop project!)
> IAEP at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/iaep
>


More information about the IAEP mailing list