1,650 questions
1
vote
0
answers
39
views
How to achieve visual cursor movement in RTL String in VSCode
Is there a way to configure VSCode editor so that the cursor movement in RTL (right-to-left) strings in the editor would be visual rather that logical, i.e. so that once the cursor is in an RTL part ...
0
votes
1
answer
87
views
Making docusaurus RTL
I'm having trouble making docusaurus RTL. I used a solution that changed the CSS by the following:
html {
direction: rtl;
font-family: 'Vazir', 'Tahoma', 'Arial', sans-serif;
}
/* Optionally, ...
1
vote
1
answer
146
views
Weird navigation drawer behavior when drawerPosition set to 'right'
I am trying to implement Right to left (RTL) language support to a react native app.
I want my app to be as consistent as possible across different devices.
When using react navigation drawer and ...
3
votes
1
answer
100
views
Proper algorithm for ltr/rtl mixed text in JavaScript?
I am using the OpenAI completions API to write text like how ChatGPT does it in the user/system message back and forth. But this is for Arabic text, and explanation of text comes back in mixture of ...
0
votes
0
answers
28
views
How to prevent Tesseract OCR from re-ordering the sentence in RTL context?
I have a large collection of structured text, in Hebrew & English, mixed in every sentence.
Tesseract is re-ordering the words in these sentence, without success.
How can I tell Tesseract just to ...
1
vote
0
answers
56
views
FlatList RTL support
I'm trying to build a horizontal Flatlist that supports RTL. Still, for some reason, the flatlist horizontal expansion direction is opposite to the data render direction (if my words make any sense). ...
0
votes
0
answers
26
views
Combining LTR and RTL support in Zurb Foundation
I'm aware you can change the language direction in settings.scss, but I need to support both directions as the CSS will be used on a multi-language site. Is there a way to do this, or am I best to ...
1
vote
1
answer
98
views
How to make HTML/Browser make the numbers appear after Arabic like an English text instead of an Arabic text?
My code contains a word or string that ends with Arabic ketter and then a number. But for some reasons, the number appear before the Arabic as if it's treated as an Arabic number even in the editor.
&...
-1
votes
1
answer
91
views
OpenXml RTL layout
I have an OpenXML file, and i don't fully understand how word draw letters in this document.
<w:p>
<w:pPr>
<w:bidi/>
</w:pPr>
...
0
votes
0
answers
134
views
Does Google Wallet Generic Class support Right To Left Template?
I need to create Google Wallet Layout using Class Template Info.
I couldn't find any Documentation of Right To left support.
I will Appreciate any insights.
0
votes
1
answer
173
views
Gmail ignores RTL direction directives
I am sending HTML emails with explicit HTML attribute and style to make the text RTL.
But gmail seems to strip it out completely.
Example email body (HTML)
<html lang='he-IL' xmlns='http://www.w3....
1
vote
0
answers
18
views
How can we get the TinyMCE editor to switch to Right-To-Left orientation if the active language is Arabic for example?
Most editors like basic IOS or Windows have their editor switch to R-T-L orientation if the active script is of R-T-L such as Arabic, Urdu or Hebrew. Yet can't find such support in TinyMCE. Is there a ...
0
votes
0
answers
61
views
After switching languages from Arabic to English in iOS app, some views are flipped horizontally
In our iOS app, multiple languages are already supported. But there are one strange bug: After switching languages from Arabic to English, some views are flipped horizontally, which not look like ...
0
votes
0
answers
110
views
Google Sign-In button (g_id_signin) - the icon is too close to text in RTL locales
I'm implementing Google Sign-In on my website and encountering an issue with the button layout in right-to-left (RTL) locales, specifically for Hebrew (he) and Arabic (sa).
The Google icon within the ...
-1
votes
1
answer
130
views
Write RTL to CSV file using C#
I am trying to write a function that receives a DataTable and writes the data from it into a csv file, The function works, but I want the file content to be displayed in Right-to-Left (RTL)..
I tried ...
1
vote
0
answers
30
views
Why the view go outside of screen by ConstrainLayout in the condition of RTL?
Problem
Here is my layout file:
activity_main.xml
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://...
1
vote
0
answers
87
views
SwiftUI RTL issue in search field options menu
The search field options menu, shows it content flipped in Right to left languages like Arabic, as you can see in screenshot below
the only thing I did is adding the searchable to navigation stack
....
1
vote
1
answer
151
views
RTL language issue in SwiftUI
I have issue in SwiftUI with Right to Left Languages (Arabic)
The navigation bar is correct, but check the list row and text editor, its flipped to the left edge, which it must be in the right edge in ...
3
votes
2
answers
373
views
Regular expressions to match RTL+LTR strings
I've been given a document with some information written in Hebrew. I need to write regular expressions to extract structured data from the document with JavaScript (specifically Node.js). For example,...
3
votes
2
answers
920
views
Change every word that contains Arabic letters To Reversed
Since Arabic text is automatically reversed in PowerShell, I had to reverse-flip it to make it readable.
For example, the text 'مرحبا' , will look 'ابحرم'
I can change them one by one, but I have ...
1
vote
0
answers
47
views
Arabic text is only recognized as the exact original text in Interactive mode [duplicate]
$Text = 'مرحبا يا عالم'
$TextR = -Join ($Text.ToCharArray() | Sort {(--$script:i)})
$Text; $TextR; sleep 5
I have a little problem.
Arabic text is not recognized as the exact original text in Non-...
3
votes
1
answer
1k
views
Displays Arabic Text Right-to-Left In PowerShell
The original text is $text = "مرحبا بك في PowerShell"
When I pasted it into PowerShell, the Arabic text order changed to reverse automatically:
I tried to solve it with:
[Console]::...
1
vote
0
answers
202
views
Swiper JS wired behavior with lazy loading images in RTL direction
I have simple page here to show the problem. I'm using latest swiper version in RTL document to show some images slides as follow
<!DOCTYPE html>
<html lang="eng" dir="rtl"...
0
votes
1
answer
80
views
flutter selectable text anchor position in rtl languages
In flutter when I try using SelectableText widget with rtl languages, anchors behave wrong.
It's really unpredictable. you grab one of the anchors but the other one moves...
I tested this on both a ...
0
votes
1
answer
418
views
python-docx does not apply font size when changing text direction to RTL
I want to change the direction to RTL since I write in Kurdish which uses Arabic numerals.
but whenever I apply run.font.rtl = True, it will cancel the font size run.font.size = Pt(20)
How can I fix ...
0
votes
2
answers
470
views
Views not mirrored for RTL languages
I’m trying to localize my SwiftUI app for RTL languages but having trouble getting the views to be mirrored (navigation presentation direction, link chevron direction, toolbar items location etc.) I ...
1
vote
1
answer
379
views
Write text to a text file in RTL format
I have an array of text, I want to write it to a .txt file from right to left since it is in Arabic or Kurdish. How can I do that using python?
Method to write to a file:
with open(...
0
votes
1
answer
155
views
right-to-left text (like Hebrew)
On c#. Winforms. whenever I try to write Parenthesis in text-box in Hebrew\Arabic, they get inverted
and are on the other side of the text ( right when they should be on the left).
I tried these ...
0
votes
1
answer
610
views
Compose multiplatform - iOS app layout does not adapt to RTL when changing app language to RTL language
I am developing a Kotlin Compose multiplatform app with multiple language support, including both LTR and RTL languages. When the user changes the app language to Hebrew, which is right-to-left, the ...
0
votes
0
answers
55
views
Is Slickgrid right-to-left compatible?
I am on Slickgrid v3.0.4. Is there any way to make the grid rtl compatible?
When I tried it, the column headers stopped working. Most headers turned invisible and when switching them around, the grid-...
4
votes
1
answer
437
views
Is there a way to use scrollview RTL (arabic) with LTR animation?
When you turn the ScrollView left to right, and try to scroll, content jumps to the other side. Is there any way to prevent this?
Main:
var body: some Scene {
WindowGroup {
ContentView()
...
1
vote
1
answer
210
views
writing hebrew text in rust
i am making a CLI app in rust, and the app includes multiple languages. one of those languages is hebrew, which is a RTL language. when writing in hebrew, for example:
println!("קוד לדוגמא");...
0
votes
2
answers
395
views
Write Farsi (persian) text using opencv c++
I want to write persian (Farsi) text on an image in C++, preferably in OpenCV.
I tried cv::putText which leads to writing ????...? instead the text. Also I tested cv::addText but I got not implemented ...
1
vote
1
answer
340
views
When WordPress will load rtl.css?
We have an English WP website and now use GTranslate to support Arabic language as well.
The English site is https://www.example.com/
The Arabic version is https://www.example.com/ar/ (Note /ar/ is a ...
0
votes
2
answers
632
views
How to create a CSS rule that will only apply when the body/html direction is "rtl"?
We have an English website, like this https://www.example.com And now we are using GTranslate service which will generate an Arabic version of the website, like this https://www.example.com/ar/
After ...
1
vote
2
answers
324
views
How to change line break order when using bidi-override and right-to-left direction with CSS?
I'm using a little script which hides mail addresses using the fact that you can reverse text by using unicode-bidi: bidi-override and direction: rtl.
<span>
<span>moc.e</span>
...
0
votes
1
answer
452
views
Override Vuetify RTL for specific component/component tree
We have started using RTL in Vuetify, it works great but there is a slight problem in the slider component.
The problem is that we use this component as the slider for a video time, but even when ...
3
votes
0
answers
2k
views
Shifting .NET MAUI Flyout to the Right with FlowDirection?
How can I shift the .NET MAUI Flyout to the Right (e.g. with FlowDirection) using Shell?
I am currently developing an application using .NET MAUI and am facing an issue with the Flyout menu (Sidebar). ...
0
votes
1
answer
42
views
Create javascript variable with mixed direction language and bolding for html
I am writing code in javascript that will be exported to html. My issue is that my variables contain strings that must be partially bolded, however the language of the string is a right-to-left ...
1
vote
2
answers
643
views
How to make English text render right-to-left in mixed RTL <pre> tag?
I have the following code:
<html>
<head>
<style>
.rtl {
direction: rtl;
font-size: 16px;
font-family: Arial, Helvetica;
}
</style>
</head>
&...
0
votes
0
answers
61
views
Store Arabic and English in Html input
I have a problem when i want to store Arabic and English characters in one input in Sql Server table. For example i want to store this sentence like it is written: Python لغة البرمجة but it is stored ...
0
votes
0
answers
52
views
How do I enable psuedo locales in Xamarin?
The problems
I am trying to ensure I have right-to-left localization done correctly in my Xamarin Forms app.
If and when I do actually get this pseudo-locale enabled, do I need to have my ...
2
votes
2
answers
5k
views
How to get RTL (right-to-left) text working in VS Code integrated terminal?
If I print in the DEBUG CONSOLE it's fine, every where else VS code display Hebrew just fine, just when the script print to the TERMINAL the Hebrew is upside down, why?
Update: it works fine when ...
1
vote
1
answer
629
views
Flutter: ComputelineMetrics not Behaving as Expected in RTL (Right-to-Left) Text Direction
I'm working on a mobile app in Flutter that splits a long text into pages and presents it as book pages. I am facing a problem in languages like Arabic, whose TextDirection is RTL. Half of the lines ...
0
votes
2
answers
84
views
How do I change the menu sequence from "left to right" to "right to left" in backerydemo?
I can't change the menu sequence from "left to right" to "right to left"! This is need because our first language is Persian and we must read from right to left!
I changed the ...
0
votes
0
answers
139
views
Localized string in rails app with RTL language and numbers - how to make numbers show up on correct side of text?
I have a Rails 7 app with localization in a RTL language. I want to display a localized string that contains a number (right) followed by text (left).
Instead no matter what order I type the input, ...
1
vote
1
answer
146
views
Custom views inside FrameLayout issue in Picture-in-picture RTL layout
I have a full screen FrameLayout which contains four Views that I add at runtime:
repeat(4) { i ->
val view = View(this).apply {
setBackgroundColor(COLOR[i])
}
views += view
...
1
vote
1
answer
500
views
Text-ellipsis in the beginning with "right-to-left" languages like Arabic in Angular
I have a configuration to display a long text, cut with ellipsis in the beginning.
For instance,we have a long text like
MainInterface.SubGroup.InitialSystemActuator
and the displayed value will be ...
1
vote
0
answers
101
views
Chrome + RTL - input causes chrome to freeze when deleting part of the text and clicking outside
When using Google Chrome and using either attribute dir="rtl" or style direction:rtl,
type text into input, and mark some it including the beginning of the text and delete it.
After that, ...
0
votes
0
answers
113
views
Android constraintLayout set layout direction right to left doesn't work
I want the image to always be on the right side of the screen without gaps no matter how long the message is (as shown in the photo). I already set android:supportsRtl="true"in the manifest....