bidi Questions
5
Solved
As you might know some languages are written/read from right to left and we are trying to support some RTL languages. For the web UI using dir="rtl" in html does most of the job thanks to algorithm...
2
Solved
I'm using PHPWord template processor to insert some text in a template.
The word template is formatted LTR as all the labels are English.
Here is the line in the word template:
User Name: ${name...
Programmer asked 28/2, 2017 at 23:50
7
Solved
In Google plus (and a lot of other places), when I want to post something, when I type it in Persian, which is a right-to-left language, text direction is automatically set to rtl and text-alignmen...
Krys asked 15/3, 2013 at 20:52
2
Solved
When I am using arabic-reshaper and python-bidi I faced a bad result that the lines start presenting from the last one.
4
Solved
So, phone numbers are always ltr (left to right).
Working on a multilingual website I need to insert a phone number (with a '+' prefix and numbers separated by '-') inside a text paragraph that ha...
Sapp asked 1/12, 2010 at 15:1
6
Solved
How can I programmatically check if the browser treats some character as RTL in JavaScript?
Maybe creating some transparent DIV and looking at where text is placed?
A bit of context. Unicode 5.2 ...
Faena asked 17/8, 2012 at 12:44
6
Solved
How can I set text direction [rtl] on load editor?
Chengteh asked 26/6, 2010 at 8:46
7
Solved
I am trying to use a Python package called bidi. In a module in this package (algorithm.py) there are some lines that give me error, although it is part of the package.
Here are the lines:
# utf-...
Bechuanaland asked 9/11, 2013 at 14:51
1
I have been searching the web and asking people about this subject but I really did not get a satisfying answer, let me explain my issue here with python.
let's say I have this string:
a = 'حصل طال...
Auriga asked 4/8, 2020 at 9:6
2
When I am trying to use brackets in Arabic language, they are getting reversed as shown in the attached .I have tried using textDirection RTL and BidiFormatter, but none of them works.
The correct ...
1
Our app supports different locals. There's a string with two replaceable values (money with currency symbol, USD$XXXXX ) in middle of that.
But, when the locale is Arabic, there is strange behaviou...
Model asked 5/12, 2019 at 6:51
5
Solved
What is a good way to tell whether a string contains text in a Right To Left language.
I have found this question which suggests the following approach:
public bool IsArabic(string strCompare)
{
...
Salgado asked 2/12, 2010 at 1:50
3
Solved
Here is my HTML structure:
div{
direction: rtl;
}
span{
direction: ltr;
}
<div>
<span>امروز -2</span>
</div>
This is expected result:
As you see...
4
I am trying to use the fillText() method on an HTML5 Canvas' 2d Context to draw a string written in Arabic. It works perfectly, until I put a punctuation mark at the end of the string. Then the pun...
2
Solved
I'm using flying saucer xhtmlrenderer for building pdf documents. Everything worked fine until now - now we should generate arabic text inside pdf.
Xhtmlrenderer is rendering Arabic text in reverse...
Salman asked 9/6, 2011 at 5:54
4
Solved
I have a ListView with custom View where I have a TextView :
<TextView
android:id="@+id/textViewItemTitle"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_...
Dickey asked 9/12, 2013 at 14:57
1
Solved
I have a bidirectional text
1002 -ابو ماجد الانصاري
Most editors notepad++, notepad etc. show the text as it is shown here. But when I get this text processed through ICU the number is shifted t...
Bookcase asked 16/11, 2017 at 10:14
8
I can write Arabic/Urdu/Persian on MS Word or Notepad just fine, but whenever I insert any English word or number, the sequence is just disturbed and seems like the all the words have been shuffled...
1
Solved
It seems that combining left-to-right (LTR) and right-to-left (RTL) text using paste can produce unexpected results for the resulting order:
(x = paste(c('green', 'أحمر', 'أزرق'), collapse=' ')) # ...
Equanimous asked 14/7, 2017 at 15:38
2
Solved
I want to add markup to (Urdu language) text that is written right to left. I am trying to use gsub for the purpose but everything I have tried so far does not produce the desired output
text <...
Clang asked 11/11, 2016 at 3:44
3
Solved
I'm doing some research about feasibility of changing UI dynamically based on direction of a text. Although Google is supporting RTL languages (ref: Native RTL support in Android 4.2) but it doesn'...
Medford asked 2/8, 2013 at 3:18
1
Solved
I'm working on a program that is running a series of regexs to attempt to find a date within the DOM from a webpage.
For example, in www.engadget.com/2010/07/19/windows-phone-7-in-depth-preview/, I...
0
In a custom android View I'm painting several user input texts that may be Bi-Directional. For example Hebrew or Arabic mixed with English text or numbers. To draw the text I basically use the view...
3
Solved
I am running python2.7 with django 1.4.
I have the following code in my views.py page which returns the language names in a select list:
python code: (views.py)
available_languages = []
for lv i...
Shoon asked 12/5, 2014 at 10:3
2
Solved
Android 4.2 introduced RTL (BiDi) support, to start using it I just follow the instructions (android:supportsRtl attribute to the element in your manifest file and set it “true")
But then my Actio...
Dropper asked 18/1, 2013 at 15:40
1 Next >
© 2022 - 2025 — McMap. All rights reserved.