ClipFlair Forums. Create discussion topics and get answers
I'm facing a dilemma, I found some way to autodetect if Unicode chars of RTL-script languages and I'm trying to decide if that's a better way to go so that one could have say mixed Arabic and English at the same captions collection (instead of setting yourself RTL flag for the whole collection)
In Studio “Text (Instruction)” is it possible to change the
direction (it is in Content options: Right to left direction), but you
cannot alternate. For example, I used “Text” for giving the instructions of the
activity and I put in English and Arabic. And it was impossible to put the
English text left to right direction and the Arabic text right to left
In Studio “Caption” there is not the option right to left. There is not the option Right to left
direction in Content options. Is it possible to incorporate?
I'll see into adding a Right-To-Left (RTL) option at Captions component, but I'm wondering whether I should make it available as a component option (at its backpanel) or a per-caption option (harder to set, would have to use some right-click menu, or some RTL button on the captions component toolbar that would act upon the current caption only [or on the current caption selection if I add CTRL/SHIFT click selection] - also would be a bit harder for me to store, but need to store extra data for each captions like caption Position and Size (on display), Role and Comments anyway, so would store that option together with that). Probably I'll add a component-wide option for now and allow for specific captions to override that setting in the future
Regarding the text area, I don't think it is possible to set RTL per paragraph, I'll look into that. It's the same question as with the captions on if one wants it a global or per-paragraph setting and if it's obvious for the user what it does when pressed (e.g. it acts on current selection if any at the textarea and also on future inserted text). For the time being you should use separate text areas if you want both say arabic and english text. Can also customize text areas that are for instructions by making them readonly (so that links are clickable too in the text area) and hiding their toolbar.
for giving me a solution.. In the text area I will divide space or make two
texts: one will be “Instructuctions inEnglish write in English” and other “Instruction
in Arabic” write in Arabic”. Solved ;).
the caption area, I only need the Right to left option. Just like in the text
area. Here, in any case, I need to alternate languages. There will never be
hybrid text in Arabic and other languages.
Will there be hybrid text in the same caption entry or at different caption entries (time spans)?
In the same caption entry it wouldn't be easily achievable. In different caption entries yes if such options are editable and remembered per caption (overriding the component setting [when such is added too] that applies by default to all captions)
Note that it is planned to support connection of multiple captions components to the Clip component, so if you just need to have at the same time different languages, say two rows of Arabic at the bottom and two rows of English at the top or above them, it would be possible with two captions components when supported, so you would set RTL property of the first one to true (instead of setting at each caption of it).
Can you elaborate a bit more on your need?
I'm very sorry for not be very clear. I think I had a mistake using English. In my last message I wanted to tell you that in "captions" I don't need
to alternative languages. I only will use Arabic in captions. Because this, I only need the right to left options in "caption" as well as it is in
"Text-Instructions". I hope I was clearer now and I apologize for make you waste your time and your talent.
UPDATE: So I will add a Right-to-Left (RTL) property to the captions component
One thing is then if I should add it to the Media component too to show the captions similarly or if each caption entry should remember the direction in its options (have to see if there's such support already in there or add it myself). I think having each caption entry remember direction is the best, since in the future could make Captions component allow one to use different direction per caption entry
I don't think there is any case where one would want to see the same captions as LTR in the captions component and as RTL in the clip component, so I guess the caption should carry the RTL attribute with it and use it whereever it is displayed
I totally agree with you. Thank for your help as always.
Sorry George, has already been RTL direction added as an option of the captions component?
I just do not see it ;)
Thank you very much
Sorry, was busy adding support for loading local media files, will see to it ASAP