[campsite-dev] Re: [campsite-core] Re: help regarding r-t-l
  • Vote Up0Vote Down importimport
    Posts: 0Member
    Hi all,

    I'm not a member of campsite-core list so I can't post there. I talked with
    our web developers and it seems that they agree with you that CSS is the way
    to go (it seems that I'm the only guy who feels it's not going to be that
    smooth). Anyway, we did a little test on the "Add new article" page to see
    how applying RTL to all tables would look like, and we found out that some
    tables must remain left-to-right. So we can at least help you with the
    logical layout of the interface. I'm CCing Fadi Abu Essa (our senior web
    developer and our CSS guy). We would love to help and contribute to the
    design of the RTL interface. So let's discuss our next step.


    ----------------------------------------------------------
    Raed M Neshiewat
    General Manager
    TamamTech, Inc

    Office: +962 6 461 7474
    Fax: +962 6 463 0238
    Cell: +962 79 57 58 59 60
    http://www.tamamtech.com

    ----- Original Message -----
    From: "Paul Baranowski"
    To:
    Cc:
    Sent: Thursday, April 28, 2005 7:48 AM
    Subject: Re: [campsite-core] Re: help regarding r-t-l


    > Yes, CSS is the way to go for this. The little arrows can already be
    > changed in the stylesheet. A lot of it can probably already be changed
    > using the CSS we have.
    >
    >
    >
    > John Pye wrote:
    > > I don't think that changing the interface for R-to-L is much more
    > > than a minor CSS and styling problem if you do it right. See the
    > > attached example. (I am sure you can come up with a nifty way of
    > > changing the > to < with CSS as well.)
    > >
    > > Refs here:
    > > http://www.w3.org/TR/REC-html40/struct/tables.html#h-11.2.1.1
    > >
    > > Works with Moz 1.7, IE 6, Opera 7.
    > >
    > > If you do it right with gettext for all your prompts etc, all you
    > > need to do is have a switchable CSS. Switchable CSS could be done
    > > using Apache content-negotiation.
    > >
    > > JP
    > >
    > > sava.tatic@mdlf.org wrote:
    > >
    > >
    > >> I talked to Paul about the need to move this r-t-l business (
    > >> http://bugs.campware.org/view.php?id=249) a bit sooner on our dev
    > >> tree. I thought of using Raed and the boys in Amman to do that. So
    > >> here are his first reactions. I think the discussion should
    > >> continue on the dev list, where Raed is also a member.
    > >>
    > >> Sava ----- Forwarded by Sava Tatic/Mdlf on 27/04/2005 09:47 PM
    > >> -----
    > >>
    > >> Good morning Sava,
    > >>
    > >> The issue with the interface isn't only about the text fields and
    > >> prompts. The whole interface must be mirrored. For example, when
    > >> you go to a section page in campsite, it shows you in the gray bar:
    > >>
    > >>
    > >> Publications > Issues > Sections > Articles
    > >>
    > >> In a fully RTL interface, the above must become:
    > >>
    > >> Articles < Sections < Issues < Publications
    > >>
    > >> So this means that a simple html DIR tag does work. The tables must
    > >> be re-ordered, what is displayed in a table's first cell in a LTR
    > >> interface should be displayed in the table's last cell in RTL
    > >> interface. This applies to the JavaScript menu (it should be
    > >> displayed on the right and the item icons in it must be on right
    > >> not left, the headers, the page icons,..etc
    > >>
    > >> This means that every page HTML must be reconstructed if we are
    > >> planning to have a fully RTL interface. No there are two ways I can
    > >> think of to integrate such a reconstructed interface in the
    > >> original:
    > >>
    > >> 1- The first option is that we make two copies of the interface
    > >> files. One which we store under ltr folder contains the original
    > >> LTR interface of campsite, the second is the re-constructed rtl
    > >> version which we store under rtl folder. After a successful login,
    > >> the user is forwarded to either http://server/admin/ltr/index.php
    > >> or http://server/admin/rtl/index.php according to his language
    > >> preference.
    > >>
    > >> Pros: 1- Simple to implement. 2- Every interface is separate (i.e.
    > >> allowing the addition of options specific to a certain interface).
    > >> 3- Interface modifications are easy to make.
    > >>
    > >> Cons: 1- We have two versions of the interface to maintain. 2-
    > >> Changes to an interface must be compiled twice. 3- Increase in
    > >> campsite package size (since there are two copies of the
    > >> interface).
    > >>
    > >> 2- The second option is that we modify current interface to check
    > >> the language variable and output the correct interface.
    > >>
    > >> Pros: 1- We have a single interface to maintain. 2- Changes to the
    > >> interface are compiled once.
    > >>
    > >> Cons: 1- Needs time to be implemented. 2- Campsite package size
    > >> increases more than the first option (in the modified version, we
    > >> will have lot of language checking statements before outputting
    > >> data unless you want to program the interface as: If language is
    > >> RTL then dump all the RTL interface else dump LTR interface, which
    > >> is merely the same as option one) 3- Harder to find and fix bugs
    > >> (php files will be loooooong).
    > >>
    > >> So that is the situation. We are willing to contribute to the RTL
    > >> interface design. In Ammannet, we hardcoded the interface to suits
    > >> Arabic, but it's no longer suits English. Check this screenshot for
    > >> Ammannet admin interface:
    > >>
    > >> http://tamamtech.com/ammannet/screenshot.jpg
    > >>
    > >> So let us know what are your plans for RTL interface.
    > >>
    > >> regards, raed
    > >>
    > >>
    > >> ---------------------------------------------------------- Raed M
    > >> Neshiewat General Manager TamamTech, Inc
    > >>
    > >> Office: +962 6 461 7474 Fax: +962 6 463 0238 Cell: +962 79 57
    > >> 58 59 60 http://www.tamamtech.com ----- Original Message -----
    > >> From: To: Sent:
    > >> Wednesday, April 27, 2005 1:08 AM Subject: help regarding r-t-l
    > >>
    > >>
    > >>
    > >>
    > >>
    > >>> Hi Raed,
    > >>>
    > >>> I've been meaning to ask you about this matter before. We need
    > >>> some help regarding the way our Arabic interface is rendered,
    > >>> i.e. we need stuff to align properly when Arabic localization is
    > >>> loaded. Here is the bug
    > >>>
    > >>>
    > >>
    > >> number:
    > >>
    > >>
    > >>
    > >>> http://bugs.campware.org/view.php?id=249
    > >>>
    > >>> Would you have any ideas on the issue/contribute the solution?
    > >>>
    > >>> We'll talk tomorrow.
    > >>>
    > >>> Sava
    > >>>
    > >>>
    > >>>
    > >>>
    > >>>
    > >>>
    > >>>
    > >>
    > >>
    > >>
    > >>
    > >>
    > >>
    > >>
    > >>
    > >>
    > >
    > >
    > >
    > > ------------------------------------------------------------------------
    > >
    > >
    > > publication issue section article
    > >
    > > publication issue section article
    > >
    > > publication issue section article
    > >
    > > publication issue section article
    > >
    > > publication issue section article
    > >
    >
    >
    >
    >
    >

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • 3 Comments sorted by
  • I'll post this message again:

    Well, it's not so easy because the Campsite admin interface was NOT done right.
    Until we rewrite the admin interface we can't have full r-t-l. We can close to
    100% with more work on current admin interface but I wouldn't spend too much
    time on it AT THIS MOMENT because this code is going to be thrashed anyway in
    about 5-6 months.

    So my suggestion is we find a short term solution that doesn't require too much
    work and concentrate most of our efforts on the new, rewritten admin interface.

    Regards,
    Mugur

    --- "Raed@RaedNesh.com" wrote:
    > Hi all,
    >
    > I'm not a member of campsite-core list so I can't post there. I talked with
    > our web developers and it seems that they agree with you that CSS is the way
    > to go (it seems that I'm the only guy who feels it's not going to be that
    > smooth). Anyway, we did a little test on the "Add new article" page to see
    > how applying RTL to all tables would look like, and we found out that some
    > tables must remain left-to-right. So we can at least help you with the
    > logical layout of the interface. I'm CCing Fadi Abu Essa (our senior web
    > developer and our CSS guy). We would love to help and contribute to the
    > design of the RTL interface. So let's discuss our next step.
    >
    >
    > ----------------------------------------------------------
    > Raed M Neshiewat
    > General Manager
    > TamamTech, Inc
    >
    > Office: +962 6 461 7474
    > Fax: +962 6 463 0238
    > Cell: +962 79 57 58 59 60
    > http://www.tamamtech.com
    >
    > ----- Original Message -----
    > From: "Paul Baranowski"
    > To:
    > Cc:
    > Sent: Thursday, April 28, 2005 7:48 AM
    > Subject: Re: [campsite-core] Re: help regarding r-t-l
    >
    >
    > > Yes, CSS is the way to go for this. The little arrows can already be
    > > changed in the stylesheet. A lot of it can probably already be changed
    > > using the CSS we have.
    > >
    > >
    > >
    > > John Pye wrote:
    > > > I don't think that changing the interface for R-to-L is much more
    > > > than a minor CSS and styling problem if you do it right. See the
    > > > attached example. (I am sure you can come up with a nifty way of
    > > > changing the > to < with CSS as well.)
    > > >
    > > > Refs here:
    > > > http://www.w3.org/TR/REC-html40/struct/tables.html#h-11.2.1.1
    > > >
    > > > Works with Moz 1.7, IE 6, Opera 7.
    > > >
    > > > If you do it right with gettext for all your prompts etc, all you
    > > > need to do is have a switchable CSS. Switchable CSS could be done
    > > > using Apache content-negotiation.
    > > >
    > > > JP
    > > >
    > > > sava.tatic@mdlf.org wrote:
    > > >
    > > >
    > > >> I talked to Paul about the need to move this r-t-l business (
    > > >> http://bugs.campware.org/view.php?id=249) a bit sooner on our dev
    > > >> tree. I thought of using Raed and the boys in Amman to do that. So
    > > >> here are his first reactions. I think the discussion should
    > > >> continue on the dev list, where Raed is also a member.
    > > >>
    > > >> Sava ----- Forwarded by Sava Tatic/Mdlf on 27/04/2005 09:47 PM
    > > >> -----
    > > >>
    > > >> Good morning Sava,
    > > >>
    > > >> The issue with the interface isn't only about the text fields and
    > > >> prompts. The whole interface must be mirrored. For example, when
    > > >> you go to a section page in campsite, it shows you in the gray bar:
    > > >>
    > > >>
    > > >> Publications > Issues > Sections > Articles
    > > >>
    > > >> In a fully RTL interface, the above must become:
    > > >>
    > > >> Articles < Sections < Issues < Publications
    > > >>
    > > >> So this means that a simple html DIR tag does work. The tables must
    > > >> be re-ordered, what is displayed in a table's first cell in a LTR
    > > >> interface should be displayed in the table's last cell in RTL
    > > >> interface. This applies to the JavaScript menu (it should be
    > > >> displayed on the right and the item icons in it must be on right
    > > >> not left, the headers, the page icons,..etc
    > > >>
    > > >> This means that every page HTML must be reconstructed if we are
    > > >> planning to have a fully RTL interface. No there are two ways I can
    > > >> think of to integrate such a reconstructed interface in the
    > > >> original:
    > > >>
    > > >> 1- The first option is that we make two copies of the interface
    > > >> files. One which we store under ltr folder contains the original
    > > >> LTR interface of campsite, the second is the re-constructed rtl
    > > >> version which we store under rtl folder. After a successful login,
    > > >> the user is forwarded to either http://server/admin/ltr/index.php
    > > >> or http://server/admin/rtl/index.php according to his language
    > > >> preference.
    > > >>
    > > >> Pros: 1- Simple to implement. 2- Every interface is separate (i.e.
    > > >> allowing the addition of options specific to a certain interface).
    > > >> 3- Interface modifications are easy to make.
    > > >>
    > > >> Cons: 1- We have two versions of the interface to maintain. 2-
    > > >> Changes to an interface must be compiled twice. 3- Increase in
    > > >> campsite package size (since there are two copies of the
    > > >> interface).
    > > >>
    > > >> 2- The second option is that we modify current interface to check
    > > >> the language variable and output the correct interface.
    > > >>
    > > >> Pros: 1- We have a single interface to maintain. 2- Changes to the
    > > >> interface are compiled once.
    > > >>
    > > >> Cons: 1- Needs time to be implemented. 2- Campsite package size
    > > >> increases more than the first option (in the modified version, we
    > > >> will have lot of language checking statements before outputting
    > > >> data unless you want to program the interface as: If language is
    > > >> RTL then dump all the RTL interface else dump LTR interface, which
    > > >> is merely the same as option one) 3- Harder to find and fix bugs
    > > >> (php files will be loooooong).
    > > >>
    > > >> So that is the situation. We are willing to contribute to the RTL
    > > >> interface design. In Ammannet, we hardcoded the interface to suits
    > > >> Arabic, but it's no longer suits English. Check this screenshot for
    > > >> Ammannet admin interface:
    > > >>
    > > >> http://tamamtech.com/ammannet/screenshot.jpg
    > > >>
    > > >> So let us know what are your plans for RTL interface.
    > > >>
    > > >> regards, raed
    > > >>
    > > >>
    > > >> ---------------------------------------------------------- Raed M
    > > >> Neshiewat General Manager TamamTech, Inc
    > > >>
    > > >> Office: +962 6 461 7474 Fax: +962 6 463 0238 Cell: +962 79 57
    > > >> 58 59 60 http://www.tamamtech.com ----- Original Message -----
    > > >> From: To: Sent:
    > > >> Wednesday, April 27, 2005 1:08 AM Subject: help regarding r-t-l
    > > >>
    > > >>
    > > >>
    > > >>
    > > >>
    > > >>> Hi Raed,
    > > >>>
    > > >>> I've been meaning to ask you about this matter before. We need
    > > >>> some help regarding the way our Arabic interface is rendered,
    > > >>> i.e. we need stuff to align properly when Arabic localization is
    > > >>> loaded. Here is the bug
    > > >>>
    > > >>>
    > > >>
    > > >> number:
    > > >>
    > > >>
    > > >>
    > > >>> http://bugs.campware.org/view.php?id=249
    > > >>>
    > > >>> Would you have any ideas on the issue/contribute the solution?
    > > >>>
    > > >>> We'll talk tomorrow.
    > > >>>
    > > >>> Sava
    > > >>>
    > > >>>
    > > >>>
    > > >>>
    > > >>>
    > > >>>
    > > >>>
    > > >>
    > > >>
    > > >>
    > > >>
    > > >>
    > > >>
    > > >>
    > > >>
    > > >>
    > > >
    > > >
    > > >
    > > > ------------------------------------------------------------------------
    > > >
    > > >
    > > > publication issue section article
    > > >
    > > > publication issue section article
    > > >
    > > > publication issue section article
    > > >
    > > > publication issue section article
    > > >
    > > > publication issue section article
    > > >
    > >
    > >
    > >
    >
    === message truncated ===




    __________________________________
    Do you Yahoo!?
    Yahoo! Small Business - Try our new resources site!
    http://smallbusiness.yahoo.com/resources/

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • So OK,

    Now everybody involved in the discussion is subscribed to the dev list
    (Fadi, I have subscribed you to the Campsite-dev list, so that we keep the
    communication neat and tidy, hope you don't mind -- you can always
    unsubscribe later).

    Let's now move on onto figuring out how do we resolve the R-T-L issues in
    the best possible ways. If necessary, let's agree on two scenarios, one
    short term (read, quick and not-so-dirty) and one long-term (the ideal,
    clean solution to be applied six months from now).

    So Fadi, Raed, Mugur, Paul, John, the floor is yours.

    Sava



    I'll post this message again:

    Well, it's not so easy because the Campsite admin interface was NOT done
    right.
    Until we rewrite the admin interface we can't have full r-t-l. We can close
    to
    100% with more work on current admin interface but I wouldn't spend too
    much
    time on it AT THIS MOMENT because this code is going to be thrashed anyway
    in
    about 5-6 months.

    So my suggestion is we find a short term solution that doesn't require too
    much
    work and concentrate most of our efforts on the new, rewritten admin
    interface.

    Regards,
    Mugur

    --- "Raed@RaedNesh.com" wrote:
    > Hi all,
    >
    > I'm not a member of campsite-core list so I can't post there. I talked
    with
    > our web developers and it seems that they agree with you that CSS is the
    way
    > to go (it seems that I'm the only guy who feels it's not going to be that
    > smooth). Anyway, we did a little test on the "Add new article" page to
    see
    > how applying RTL to all tables would look like, and we found out that
    some
    > tables must remain left-to-right. So we can at least help you with the
    > logical layout of the interface. I'm CCing Fadi Abu Essa (our senior web
    > developer and our CSS guy). We would love to help and contribute to the
    > design of the RTL interface. So let's discuss our next step.
    >
    >
    > ----------------------------------------------------------
    > Raed M Neshiewat
    > General Manager
    > TamamTech, Inc
    >
    > Office: +962 6 461 7474
    > Fax: +962 6 463 0238
    > Cell: +962 79 57 58 59 60
    > http://www.tamamtech.com
    >
    > ----- Original Message -----
    > From: "Paul Baranowski"
    > To:
    > Cc:
    > Sent: Thursday, April 28, 2005 7:48 AM
    > Subject: Re: [campsite-core] Re: help regarding r-t-l
    >
    >
    > > Yes, CSS is the way to go for this. The little arrows can already be
    > > changed in the stylesheet. A lot of it can probably already be changed
    > > using the CSS we have.
    > >
    > >
    > >
    > > John Pye wrote:
    > > > I don't think that changing the interface for R-to-L is much more
    > > > than a minor CSS and styling problem if you do it right. See the
    > > > attached example. (I am sure you can come up with a nifty way of
    > > > changing the > to < with CSS as well.)
    > > >
    > > > Refs here:
    > > > http://www.w3.org/TR/REC-html40/struct/tables.html#h-11.2.1.1
    > > >
    > > > Works with Moz 1.7, IE 6, Opera 7.
    > > >
    > > > If you do it right with gettext for all your prompts etc, all you
    > > > need to do is have a switchable CSS. Switchable CSS could be done
    > > > using Apache content-negotiation.
    > > >
    > > > JP
    > > >
    > > > sava.tatic@mdlf.org wrote:
    > > >
    > > >
    > > >> I talked to Paul about the need to move this r-t-l business (
    > > >> http://bugs.campware.org/view.php?id=249) a bit sooner on our dev
    > > >> tree. I thought of using Raed and the boys in Amman to do that. So
    > > >> here are his first reactions. I think the discussion should
    > > >> continue on the dev list, where Raed is also a member.
    > > >>
    > > >> Sava ----- Forwarded by Sava Tatic/Mdlf on 27/04/2005 09:47 PM
    > > >> -----
    > > >>
    > > >> Good morning Sava,
    > > >>
    > > >> The issue with the interface isn't only about the text fields and
    > > >> prompts. The whole interface must be mirrored. For example, when
    > > >> you go to a section page in campsite, it shows you in the gray bar:
    > > >>
    > > >>
    > > >> Publications > Issues > Sections > Articles
    > > >>
    > > >> In a fully RTL interface, the above must become:
    > > >>
    > > >> Articles < Sections < Issues < Publications
    > > >>
    > > >> So this means that a simple html DIR tag does work. The tables must
    > > >> be re-ordered, what is displayed in a table's first cell in a LTR
    > > >> interface should be displayed in the table's last cell in RTL
    > > >> interface. This applies to the JavaScript menu (it should be
    > > >> displayed on the right and the item icons in it must be on right
    > > >> not left, the headers, the page icons,..etc
    > > >>
    > > >> This means that every page HTML must be reconstructed if we are
    > > >> planning to have a fully RTL interface. No there are two ways I can
    > > >> think of to integrate such a reconstructed interface in the
    > > >> original:
    > > >>
    > > >> 1- The first option is that we make two copies of the interface
    > > >> files. One which we store under ltr folder contains the original
    > > >> LTR interface of campsite, the second is the re-constructed rtl
    > > >> version which we store under rtl folder. After a successful login,
    > > >> the user is forwarded to either http://server/admin/ltr/index.php
    > > >> or http://server/admin/rtl/index.php according to his language
    > > >> preference.
    > > >>
    > > >> Pros: 1- Simple to implement. 2- Every interface is separate (i.e.
    > > >> allowing the addition of options specific to a certain interface).
    > > >> 3- Interface modifications are easy to make.
    > > >>
    > > >> Cons: 1- We have two versions of the interface to maintain. 2-
    > > >> Changes to an interface must be compiled twice. 3- Increase in
    > > >> campsite package size (since there are two copies of the
    > > >> interface).
    > > >>
    > > >> 2- The second option is that we modify current interface to check
    > > >> the language variable and output the correct interface.
    > > >>
    > > >> Pros: 1- We have a single interface to maintain. 2- Changes to the
    > > >> interface are compiled once.
    > > >>
    > > >> Cons: 1- Needs time to be implemented. 2- Campsite package size
    > > >> increases more than the first option (in the modified version, we
    > > >> will have lot of language checking statements before outputting
    > > >> data unless you want to program the interface as: If language is
    > > >> RTL then dump all the RTL interface else dump LTR interface, which
    > > >> is merely the same as option one) 3- Harder to find and fix bugs
    > > >> (php files will be loooooong).
    > > >>
    > > >> So that is the situation. We are willing to contribute to the RTL
    > > >> interface design. In Ammannet, we hardcoded the interface to suits
    > > >> Arabic, but it's no longer suits English. Check this screenshot for
    > > >> Ammannet admin interface:
    > > >>
    > > >> http://tamamtech.com/ammannet/screenshot.jpg
    > > >>
    > > >> So let us know what are your plans for RTL interface.
    > > >>
    > > >> regards, raed
    > > >>
    > > >>
    > > >> ---------------------------------------------------------- Raed M
    > > >> Neshiewat General Manager TamamTech, Inc
    > > >>
    > > >> Office: +962 6 461 7474 Fax: +962 6 463 0238 Cell: +962 79 57
    > > >> 58 59 60 http://www.tamamtech.com ----- Original Message -----
    > > >> From: To: Sent:
    > > >> Wednesday, April 27, 2005 1:08 AM Subject: help regarding r-t-l
    > > >>
    > > >>
    > > >>
    > > >>
    > > >>
    > > >>> Hi Raed,
    > > >>>
    > > >>> I've been meaning to ask you about this matter before. We need
    > > >>> some help regarding the way our Arabic interface is rendered,
    > > >>> i.e. we need stuff to align properly when Arabic localization is
    > > >>> loaded. Here is the bug
    > > >>>
    > > >>>
    > > >>
    > > >> number:
    > > >>
    > > >>
    > > >>
    > > >>> http://bugs.campware.org/view.php?id=249
    > > >>>
    > > >>> Would you have any ideas on the issue/contribute the solution?
    > > >>>
    > > >>> We'll talk tomorrow.
    > > >>>
    > > >>> Sava
    > > >>>
    > > >>>
    > > >>>
    > > >>>
    > > >>>
    > > >>>
    > > >>>
    > > >>
    > > >>
    > > >>
    > > >>
    > > >>
    > > >>
    > > >>
    > > >>
    > > >>
    > > >
    > > >
    > > >
    > > >
    ------------------------------------------------------------------------
    > > >
    > > >
    > > > publication issue section article
    > > >
    > > > publication issue section article
    > > >
    > > > publication issue section article
    > > >
    > > > publication issue section article
    > > >
    > > > publication issue section article
    > > >
    > >
    > >
    > >
    >
    === message truncated ===




    __________________________________
    Do you Yahoo!?
    Yahoo! Small Business - Try our new resources site!
    http://smallbusiness.yahoo.com/resources/

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • First of all I'm sorry for not replying to your messages. I'm having spam
    attacks on my personal email raednesh.com and I' getting 600 emails daily.
    So excuse me for not following up with you.

    Sava/Doug, please unsubscribe raed@raednesh.com from the dev list and
    subscribe campsite@tamamtech.com instead.

    thanks

    ----------------------------------------------------------
    Raed M Neshiewat
    General Manager
    TamamTech, Inc

    Office: +962 6 461 7474
    Fax: +962 6 463 0238
    Cell: +962 79 57 58 59 60
    http://www.tamamtech.com
    ----- Original Message -----
    From:
    To:
    Sent: Thursday, April 28, 2005 8:11 PM
    Subject: Re: [campsite-dev] Re: [campsite-core] Re: help regarding r-t-l


    >
    > So OK,
    >
    > Now everybody involved in the discussion is subscribed to the dev list
    > (Fadi, I have subscribed you to the Campsite-dev list, so that we keep the
    > communication neat and tidy, hope you don't mind -- you can always
    > unsubscribe later).
    >
    > Let's now move on onto figuring out how do we resolve the R-T-L issues in
    > the best possible ways. If necessary, let's agree on two scenarios, one
    > short term (read, quick and not-so-dirty) and one long-term (the ideal,
    > clean solution to be applied six months from now).
    >
    > So Fadi, Raed, Mugur, Paul, John, the floor is yours.
    >
    > Sava
    >
    >
    >
    > I'll post this message again:
    >
    > Well, it's not so easy because the Campsite admin interface was NOT done
    > right.
    > Until we rewrite the admin interface we can't have full r-t-l. We can
    close
    > to
    > 100% with more work on current admin interface but I wouldn't spend too
    > much
    > time on it AT THIS MOMENT because this code is going to be thrashed anyway
    > in
    > about 5-6 months.
    >
    > So my suggestion is we find a short term solution that doesn't require too
    > much
    > work and concentrate most of our efforts on the new, rewritten admin
    > interface.
    >
    > Regards,
    > Mugur
    >
    > --- "Raed@RaedNesh.com" wrote:
    > > Hi all,
    > >
    > > I'm not a member of campsite-core list so I can't post there. I talked
    > with
    > > our web developers and it seems that they agree with you that CSS is the
    > way
    > > to go (it seems that I'm the only guy who feels it's not going to be
    that
    > > smooth). Anyway, we did a little test on the "Add new article" page to
    > see
    > > how applying RTL to all tables would look like, and we found out that
    > some
    > > tables must remain left-to-right. So we can at least help you with the
    > > logical layout of the interface. I'm CCing Fadi Abu Essa (our senior web
    > > developer and our CSS guy). We would love to help and contribute to the
    > > design of the RTL interface. So let's discuss our next step.
    > >
    > >
    > > ----------------------------------------------------------
    > > Raed M Neshiewat
    > > General Manager
    > > TamamTech, Inc
    > >
    > > Office: +962 6 461 7474
    > > Fax: +962 6 463 0238
    > > Cell: +962 79 57 58 59 60
    > > http://www.tamamtech.com
    > >
    > > ----- Original Message -----
    > > From: "Paul Baranowski"
    > > To:
    > > Cc:
    > > Sent: Thursday, April 28, 2005 7:48 AM
    > > Subject: Re: [campsite-core] Re: help regarding r-t-l
    > >
    > >
    > > > Yes, CSS is the way to go for this. The little arrows can already be
    > > > changed in the stylesheet. A lot of it can probably already be
    changed
    > > > using the CSS we have.
    > > >
    > > >
    > > >
    > > > John Pye wrote:
    > > > > I don't think that changing the interface for R-to-L is much more
    > > > > than a minor CSS and styling problem if you do it right. See the
    > > > > attached example. (I am sure you can come up with a nifty way of
    > > > > changing the > to < with CSS as well.)
    > > > >
    > > > > Refs here:
    > > > > http://www.w3.org/TR/REC-html40/struct/tables.html#h-11.2.1.1
    > > > >
    > > > > Works with Moz 1.7, IE 6, Opera 7.
    > > > >
    > > > > If you do it right with gettext for all your prompts etc, all you
    > > > > need to do is have a switchable CSS. Switchable CSS could be done
    > > > > using Apache content-negotiation.
    > > > >
    > > > > JP
    > > > >
    > > > > sava.tatic@mdlf.org wrote:
    > > > >
    > > > >
    > > > >> I talked to Paul about the need to move this r-t-l business (
    > > > >> http://bugs.campware.org/view.php?id=249) a bit sooner on our dev
    > > > >> tree. I thought of using Raed and the boys in Amman to do that. So
    > > > >> here are his first reactions. I think the discussion should
    > > > >> continue on the dev list, where Raed is also a member.
    > > > >>
    > > > >> Sava ----- Forwarded by Sava Tatic/Mdlf on 27/04/2005 09:47 PM
    > > > >> -----
    > > > >>
    > > > >> Good morning Sava,
    > > > >>
    > > > >> The issue with the interface isn't only about the text fields and
    > > > >> prompts. The whole interface must be mirrored. For example, when
    > > > >> you go to a section page in campsite, it shows you in the gray bar:
    > > > >>
    > > > >>
    > > > >> Publications > Issues > Sections > Articles
    > > > >>
    > > > >> In a fully RTL interface, the above must become:
    > > > >>
    > > > >> Articles < Sections < Issues < Publications
    > > > >>
    > > > >> So this means that a simple html DIR tag does work. The tables must
    > > > >> be re-ordered, what is displayed in a table's first cell in a LTR
    > > > >> interface should be displayed in the table's last cell in RTL
    > > > >> interface. This applies to the JavaScript menu (it should be
    > > > >> displayed on the right and the item icons in it must be on right
    > > > >> not left, the headers, the page icons,..etc
    > > > >>
    > > > >> This means that every page HTML must be reconstructed if we are
    > > > >> planning to have a fully RTL interface. No there are two ways I can
    > > > >> think of to integrate such a reconstructed interface in the
    > > > >> original:
    > > > >>
    > > > >> 1- The first option is that we make two copies of the interface
    > > > >> files. One which we store under ltr folder contains the original
    > > > >> LTR interface of campsite, the second is the re-constructed rtl
    > > > >> version which we store under rtl folder. After a successful login,
    > > > >> the user is forwarded to either http://server/admin/ltr/index.php
    > > > >> or http://server/admin/rtl/index.php according to his language
    > > > >> preference.
    > > > >>
    > > > >> Pros: 1- Simple to implement. 2- Every interface is separate (i.e.
    > > > >> allowing the addition of options specific to a certain interface).
    > > > >> 3- Interface modifications are easy to make.
    > > > >>
    > > > >> Cons: 1- We have two versions of the interface to maintain. 2-
    > > > >> Changes to an interface must be compiled twice. 3- Increase in
    > > > >> campsite package size (since there are two copies of the
    > > > >> interface).
    > > > >>
    > > > >> 2- The second option is that we modify current interface to check
    > > > >> the language variable and output the correct interface.
    > > > >>
    > > > >> Pros: 1- We have a single interface to maintain. 2- Changes to the
    > > > >> interface are compiled once.
    > > > >>
    > > > >> Cons: 1- Needs time to be implemented. 2- Campsite package size
    > > > >> increases more than the first option (in the modified version, we
    > > > >> will have lot of language checking statements before outputting
    > > > >> data unless you want to program the interface as: If language is
    > > > >> RTL then dump all the RTL interface else dump LTR interface, which
    > > > >> is merely the same as option one) 3- Harder to find and fix bugs
    > > > >> (php files will be loooooong).
    > > > >>
    > > > >> So that is the situation. We are willing to contribute to the RTL
    > > > >> interface design. In Ammannet, we hardcoded the interface to suits
    > > > >> Arabic, but it's no longer suits English. Check this screenshot for
    > > > >> Ammannet admin interface:
    > > > >>
    > > > >> http://tamamtech.com/ammannet/screenshot.jpg
    > > > >>
    > > > >> So let us know what are your plans for RTL interface.
    > > > >>
    > > > >> regards, raed
    > > > >>
    > > > >>
    > > > >> ---------------------------------------------------------- Raed M
    > > > >> Neshiewat General Manager TamamTech, Inc
    > > > >>
    > > > >> Office: +962 6 461 7474 Fax: +962 6 463 0238 Cell: +962 79 57
    > > > >> 58 59 60 http://www.tamamtech.com ----- Original Message -----
    > > > >> From: To: Sent:
    > > > >> Wednesday, April 27, 2005 1:08 AM Subject: help regarding r-t-l
    > > > >>
    > > > >>
    > > > >>
    > > > >>
    > > > >>
    > > > >>> Hi Raed,
    > > > >>>
    > > > >>> I've been meaning to ask you about this matter before. We need
    > > > >>> some help regarding the way our Arabic interface is rendered,
    > > > >>> i.e. we need stuff to align properly when Arabic localization is
    > > > >>> loaded. Here is the bug
    > > > >>>
    > > > >>>
    > > > >>
    > > > >> number:
    > > > >>
    > > > >>
    > > > >>
    > > > >>> http://bugs.campware.org/view.php?id=249
    > > > >>>
    > > > >>> Would you have any ideas on the issue/contribute the solution?
    > > > >>>
    > > > >>> We'll talk tomorrow.
    > > > >>>
    > > > >>> Sava
    > > > >>>
    > > > >>>
    > > > >>>
    > > > >>>
    > > > >>>
    > > > >>>
    > > > >>>
    > > > >>
    > > > >>
    > > > >>
    > > > >>
    > > > >>
    > > > >>
    > > > >>
    > > > >>
    > > > >>
    > > > >
    > > > >
    > > > >
    > > > >
    > ------------------------------------------------------------------------
    > > > >
    > > > >
    > > > > publication issue section article
    > > > >
    > > > > publication issue section article
    > > > >
    > > > > publication issue section article
    > > > >
    > > > > publication issue section article
    > > > >
    > > > > publication issue section article
    > > > >
    > > >
    > > >
    > > >
    > >
    > === message truncated ===
    >
    >
    >
    >
    > __________________________________
    > Do you Yahoo!?
    > Yahoo! Small Business - Try our new resources site!
    > http://smallbusiness.yahoo.com/resources/
    >
    >
    >
    >
    >
    >
    >
    >

    ------------------------------------------
    Posted to Phorum via PhorumMail