farsi

Convert English numbers to Persian for ggplot

99封情书 提交于 2021-02-19 08:32:30
问题 I am working on a data visualization project using ggplot . I have my original data in English: world_ecommerce <- data.frame( year = factor(c(2014, 2015, 2016, 2017, 2018)), score = c(1336, 1548, 1845, 2304, 2842) ) I want to visualize it as a bar chart and show all numbers in persian. My original Bar chart is: ggplot( world_ecommerce, aes(x = year, y = score, label = score), fill = "#56c7da" ) + geom_bar( stat = "identity", fill = "#56c7da", position = position_dodge(), width = 0.5, size =

Convert English numbers to Persian numbers for ggplot

守給你的承諾、 提交于 2021-02-10 04:16:14
问题 The bounty expires in 3 days . Answers to this question are eligible for a +50 reputation bounty. markus wants to draw more attention to this question. I am working on a data visualization project using ggplot2 . All numbers obtained in the plot (Includes axis-x and axis-y and numbers inside the plot) are in English format like the below plot: but I want the numbers in all plots to be Persian (e.g., ۲۰۱۵ instead of 2015). I have many plots with different numbers. Can anyone help me to convert

Convert English numbers to Persian numbers for ggplot

删除回忆录丶 提交于 2021-02-10 04:14:48
问题 The bounty expires in 3 days . Answers to this question are eligible for a +50 reputation bounty. markus wants to draw more attention to this question. I am working on a data visualization project using ggplot2 . All numbers obtained in the plot (Includes axis-x and axis-y and numbers inside the plot) are in English format like the below plot: but I want the numbers in all plots to be Persian (e.g., ۲۰۱۵ instead of 2015). I have many plots with different numbers. Can anyone help me to convert

is there a way to write Persian in python kivy

余生长醉 提交于 2021-01-29 17:08:23
问题 i try to write Persian in python kivy but it is not working. from kivy.app import App from kivy.uix.screenmanager import ScreenManager,Screen from kivy.lang import Builder from kivy import Config from kivy.uix.label import Label from kivy.uix.widget import Widget class MainApp(App): def build(self): return Label(text= "فارسی") if __name__ == "__main__": MainApp().run() 回答1: You need to use some Persian font. I have done it with Arabic text You can download the font from here Then use arabic

How can I write Persian language in Android Studio?

為{幸葍}努か 提交于 2020-05-26 12:11:39
问题 I want to write Persian in Android Studio, but after typing Persian, Android Studio shows some strange characters. Of course it was right for about 3 months, but suddenly it's strange. 回答1: In android studio 1.2 you should go to configure> settings> colors and fonts> font> use your scheme> uncheck show only monospaced fonts> and finally use tahoma font and apply and ok. Enjoy it! Instruction 回答2: In android versions later than 3, you don't need anything but in earlier versions you must add

How can I write Persian language in Android Studio?

对着背影说爱祢 提交于 2020-05-26 12:10:06
问题 I want to write Persian in Android Studio, but after typing Persian, Android Studio shows some strange characters. Of course it was right for about 3 months, but suddenly it's strange. 回答1: In android studio 1.2 you should go to configure> settings> colors and fonts> font> use your scheme> uncheck show only monospaced fonts> and finally use tahoma font and apply and ok. Enjoy it! Instruction 回答2: In android versions later than 3, you don't need anything but in earlier versions you must add

How to create PDF containing Persian(Farsi) text with reportlab, rtl and bidi in python

99封情书 提交于 2020-05-09 05:09:05
问题 I've been trying to create a PDF file from content that can be English, Persian, digits or a combination of them. there is some problems with Persian texts like: "این یک متن فارسی است" ۱- the text must be written from right to left 2- there is a difference between characters in different positions in the word (meaning that characters change their shape according to their surrounding characters) 3- because the sentence is read from right to left then the normal textwrap doesn't work correctly.

Use Full Text Search for Persian Language

非 Y 不嫁゛ 提交于 2020-03-18 15:22:27
问题 I see supported language in full text search (SQL Server 2012). Persian (Farsi) does not exist in list. But as I know, there is a way to use full text search for Persian language with adding custom dictionary, using Arabic language and etc. Please help and give me some references and guidance for using Persian language in Full Text Search of SQL Server 2012. 回答1: Yes FTS doesn't support Persian language, but that doesn't mean it won't work with it. Only inflectional queries such as WHERE

sqlite database in persian language

我怕爱的太早我们不能终老 提交于 2020-01-21 07:21:43
问题 I tried to create a sqlite database from a csv file. I did it as it is said in this page : using your own sqlite db in android and this : import csv to sqlite but the problem is when the table contains data in farsi/arabic language. sqlite shows that character as "_". what should I do? PS. I want to use this DB in an android project. edit: I import csv to sqlite using this code: CREATE TABLE "android_metadata"("locale" TEXT DEFAULT 'en_US'); CREATE TABLE "addresses"(_id integer PRIMARY KEY,

.NET How to parse a Persian / Farsi date string (Jalali calendar) into a DateTime object?

谁都会走 提交于 2020-01-20 17:40:31
问题 I've run across several great code libraries for converting a Persian (Jalali calendar) date to a Gregorian date. However, my original source is a string, not a DateTime object. There doesn't seem to be official support in the .NET framework for parsing dates using the Persian calendar (if I'm wrong, please show me!). My goal: string persianDateString="1390/02/07"; DateTime persianDateTime = MyPersianParser.Parse(persianDateString, "yyyy/mm/dd"); And of course, some dates may use word names