On 20/05/2012 00:01, Duncan Murdoch wrote:
On 12-05-18 2:23 PM, David Winsemius wrote:

On May 18, 2012, at 10:52 AM, Duncan Murdoch wrote:

On 12-05-18 5:15 AM, gholi bahrami wrote:
Dear Sir/Madam
I am a BSc student studying statistics in Ferdowsi University of
Mashhad,Iran.
Translating R messages to Farsi is my thesis and I have already
downloaded *poEdit* to translate those messages.However, the
created .mo files for R.pot and RGui.pot are not useful at all.
I would like to be informed if there is something wrong with right-
to-left encoding or Farsi fonts or Farsi support.
I am eagerly looking forward to hearing from you soon.
I greatly appreciate the assistance you may provided me.

Could you please repost to the R-devel list, with some more
details? As far as I know Farsi would be our first right-to-left
language, so I'd expect problems.

Hebrew? We had an earlier question relating to plotting displays about
right-to-left displaying Hebrew text improperly, but as far as I know
the console displays were working properly.

I don't think we have Hebrew translations of messages, but I might be
wrong about that.

I don't know that we do either, but as messages are just streams of bytes, their direction is not relevant at the translation stage. What is relevant is how the translated messages are displayed, and we do have experience with that in Hebrew. We don't have an OS mentioned here: as I wrote to you privately, experience suggests that Hebrew is displayed correctly in Linux, but mixed English-Hebrew lines are not on Windows.

Duncan Murdoch


A search for "right-to-left" with RSeek suggests you may get some
support with package:ISOcodes.

However, I do not see Farsi in the list of languages supported at:

http://www.loc.gov/standards/iso639-2/ISO-639-2_utf-8.txt

But my knowledge in this area is very skimpy and the glyph-set needed
may go by another name.

I don't know if they are solvable with a reasonable effort, but
that's the place to get started.

Examples of details:

Do other displays of Farsi strings in R work properly? e.g.
cat("some Farsi string") or print("some Farsi string").

Can readLine() read a text file with Farsi text and display it
properly?

What is the usual encoding used for Farsi text?

Duncan Murdoch

David Winsemius, MD
West Hartford, CT


--
Brian D. Ripley,                  rip...@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to