Questions tagged [farsi]

The Farsi tag is for issues relating to Persian (Farsi, فارسی, پارسی) language.

247 questions
0
votes
2 answers

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 languge in base.py to "fa-IR" and wagtail cms languges to "فارسی". But it…
0
votes
0 answers

How to resolve 403 Forbidden error issue?

After searching for two or more words in a phrase in my website (in the search bar), when I click on the search result, I receive 403 Forbidden error. Any idea how I can resolve it? Please be noted that I have already checked the permissions of the…
0
votes
0 answers

Nastaliq font in kivy

I just wanted to ask whether there's a way to use the Nastalik fonts in Kivy. (IranNastaliq, Urdu Typesetting or Noto Nastaliq Urdu). if you know how to make a button with a text written in these fonts please answer. I was trying IranNastaliq font…
0
votes
0 answers

'?' instead of persian character

I am tried to work with 'MySQL'. but when I want to write in Persian keyboard, it doesn't show correctly how can I fix this problem? enter image description here its preview
0
votes
1 answer

half space (\u200c) don't support in CountVectorizer

in CountVectorizer of python's library, i want to persian words that contain half space be one token not two word . I will be grateful to guide me. thank you. i used "درخت‌های زیبا" in CountVectorizer . i wanted it to turn into ["درخت‌های","زیبا"]…
Sedghian
  • 1
  • 2
0
votes
2 answers

Ensure Excel (Persian) date is valid date with specific format

Problem: We a need a specific column to accept a (Persian) date with specific format (yyyy/mm/dd). Attempts: I've tried to use Data Validation, to a accept specific format: Blocker: The date we're writing is a Persian date in 'yyyy/mm/dd' format,…
0
votes
1 answer

How to create a PDF file from a non-English (Persian) text using fpdf in Python?

I want to write a Farsi text and create its 'PDF' file. I installed and used the fpdf module, but I got an error. from fpdf import FPDF def export_pdf(): pdf = FPDF() pdf.add_page() pdf.set_font("Arial", size=15) pdf.cell(200, 10,…
0
votes
1 answer

Persian PDF file to Word file Converter

Persian PDF to Word Converter. I have created an application to convert the PDF file into a word file. There is a problem with Persian PDf files when I try to convert them. The application converts the pdf into a word file but the text format is not…
behrooz
  • 9
  • 5
0
votes
1 answer

I have a problem with django-taggit persian[farsi-fa]

I have a problem when I put persian tags in the Django admin panel I get this error in template: Reverse for 'post_tag' with arguments '('',)' not found. 1 pattern(s) tried: ['tags/(?P[-a-zA-Z0-9_]+)/\\Z'] Note: when I put English and…
erfan
  • 1
  • 1
0
votes
0 answers

Failed to load audio from hugging face common voice data

No matter how I explain or change the index of my train or test data loader it still has error. I tried to make a new colab notebook and redownloading all datas from hugging face: downloading dataset from datasets import load_dataset, load_metric,…
0
votes
0 answers

C# DevExpress very small size of caret in XtraEdits at first of text

I use DevExpress component. When I use XtraEditors such as EditText, ComboBoxEdit or LookUpEdit, the size of the caret becomes very small when the focus is at the beginning of the text (or on an empty box). The reason for this problem is the use of…
0
votes
1 answer

Persian localization for Ag-Grid

I want to develop a persian web app using ag-grid but the content of the ag-grid is completely English. How can I localize ag-grid to persian(farsi) language?
Ali Tarani
  • 139
  • 6
0
votes
0 answers

Text in Farsi is not displayed correctly in Postgres db and Open Api (FastApi)

I have an issue with displaying text in Farsi. It looks differently in vscode, postgres and openApi. Here is how it looks like in vscode: 1آغاز خبر خوش دربارۀ عیسی مسیح پسر خدا. 2در کتاب اِشعیای نبی نوشته شده است: «اینک پیام‌آور خود را پیشاپیش تو…
0
votes
0 answers

Add horizontal line in pdf file using reportlab but not use canvas

I want to add horizontal line after each record in my file for making them separate.Or draw a table to show my information . I cant use grid because my text is arabic . Here is my code for making a pdf file for report . please guide me. Thanks def…
0
votes
0 answers

Persian Words Synonyms in elasticsearch

I'm trying to find a Persian synonym words dataset to use for my Elasticsearch analyzer. I'm expecting it to at least contain similar words with different spacings. for example: "اسید لاکتیک" and "اسیدلاکتیک".