[campsite-support] Arabic word order
  • Hi!

    One of our editors has problem to put Arabic into Campsite.
    The words turn to different order than original since the Arabic reading is from the right to the left.
    How should the editor pass the text from a Word document to the system? (The document is not in-house production, so no idea of its settings)

    Sanna @ Gene
  • 3 Comments sorted by
  • Use RTL HTML attribute in the template based on the environment language.
    See http://www.i18nguy.com/markup/right-to-left.html

    On Mon, Nov 23, 2009 at 2:03 PM, Generare Management Department <
    management@generare.com> wrote:

    > Hi!
    >
    > One of our editors has problem to put Arabic into Campsite.
    > The words turn to different order than original since the Arabic reading is
    > from the right to the left.
    > How should the editor pass the text from a Word document to the system?
    > (The document is not in-house production, so no idea of its settings)
    >
    > Sanna @ Gene
  • Hi,

    coming back to this matter. When I got this advice, the editors informed they manage to do without template changes and everybody was happy. Now somebody had informed that the word order was actually wrong (so the editor used just aligning to right side as "Arabic order").

    The thing is that the Arabic is only of course one, very rare system language (2 articles would be with it so far), so we can't change the article template that we do not ruin all the other articles then. It should be also in a way that the editor doesn't need to do too complicated things when "activating" Arabic word-order.

    Sanna @ Gene

    On 13.12.2009, at 16.13, Mugur Rus wrote:

    > Use RTL HTML attribute in the template based on the environment language. See http://www.i18nguy.com/markup/right-to-left.html
    >
    > On Mon, Nov 23, 2009 at 2:03 PM, Generare Management Department wrote:
    > Hi!
    >
    > One of our editors has problem to put Arabic into Campsite.
    > The words turn to different order than original since the Arabic reading is from the right to the left.
    > How should the editor pass the text from a Word document to the system? (The document is not in-house production, so no idea of its settings)
    >
    > Sanna @ Gene
    >
  • Hi Sanna,

    Switching the direction will be automatic in future Campsite versions but
    for now we didn't find the time to implement this feature. Still, you can
    make your templates change the direction based on the current language
    without "ruining" them, meaning they would work ok for LTR and RTL languages
    at the same time. Some Arabic sites that use Campsite do this. Just insert
    the following code the the beginning of the main template:

    {{ if $campsite->language->code = "ar" }}

    {{ else }}

    {{ /if }}

    Mugur

    On Mon, Feb 22, 2010 at 12:54 PM, Generare Management Department <
    management@generare.com> wrote:

    > Hi,
    >
    > coming back to this matter. When I got this advice, the editors informed
    > they manage to do without template changes and everybody was happy. Now
    > somebody had informed that the word order was actually wrong (so the editor
    > used just aligning to right side as "Arabic order").
    >
    > The thing is that the Arabic is only of course one, very rare system
    > language (2 articles would be with it so far), so we can't change the
    > article template that we do not ruin all the other articles then. It should
    > be also in a way that the editor doesn't need to do too complicated things
    > when "activating" Arabic word-order.
    >
    > Sanna @ Gene
    >
    > On 13.12.2009, at 16.13, Mugur Rus wrote:
    >
    > Use RTL HTML attribute in the template based on the environment language.
    > See http://www.i18nguy.com/markup/right-to-left.html
    >
    > On Mon, Nov 23, 2009 at 2:03 PM, Generare Management Department <
    > management@generare.com> wrote:
    >
    >> Hi!
    >>
    >> One of our editors has problem to put Arabic into Campsite.
    >> The words turn to different order than original since the Arabic reading
    >> is from the right to the left.
    >> How should the editor pass the text from a Word document to the system?
    >> (The document is not in-house production, so no idea of its settings)
    >>
    >> Sanna @ Gene
    >
    >
    >
    >
    >
    >
    >
    >