LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-22-2011, 12:04 PM   #1
ajaygarg
Member
 
Registered: Mar 2010
Location: New Delhi, India
Distribution: Fedora
Posts: 94

Rep: Reputation: 0
How to find the language group for "Pashto"?


Hi all.

I am wanting to get the language pack for "Pashto" installed on my Fedora 11.
I tried

Code:
yum grouplist
and it listed
Code:
Installed Groups:
   Administration Tools
   Arabic Support
   Armenian Support
   Assamese Support
   Authoring and Publishing
   Bengali Support
   Bhutanese Support
   Chinese Support
   Development Tools
   Dial-up Networking Support
   Editors
   Engineering and Scientific
   Ethiopic Support
   Fonts
   GNOME Desktop Environment
   GNOME Software Development
   Games and Entertainment
   Georgian Support
   Graphical Internet
   Graphics
   Gujarati Support
   Hardware Support
   Hebrew Support
   Hindi Support
   Input Methods
   Inuktitut Support
   Japanese Support
   KDE Software Compilation
   Kannada Support
   Kashmiri Support
   Khmer Support
   Konkani Support
   Korean Support
   Lao Support
   Legacy Fonts
   Mail Server
   Maithili Support
   Malayalam Support
   Marathi Support
   Milkymist
   MySQL Database
   Myanmar (Burmese) Support
   Network Servers
   Office/Productivity
   Oriya Support
   Printing Support
   Punjabi Support
   Russian Support
   Sanskrit Support
   Server Configuration Tools
   Sindhi Support
   Sinhala Support
   Sound and Video
   System Tools
   Tajik Support
   Tamil Support
   Telugu Support
   Text-based Internet
   Thai Support
   Urdu Support
   Venda Support
   Web Server
   X Window System
Available Groups:
   Afrikaans Support
   Albanian Support
   Amazigh Support
   Asturian Support
   Azerbaijani Support
   Base
   Basque Support
   Belarusian Support
   Books and Guides
   Bosnian Support
   Brazilian Portuguese Support
   Breton Support
   Bulgarian Support
   Catalan Support
   Chichewa Support
   Clustering
   Coptic Support
   Croatian Support
   Czech Support
   DNS Name Server
   Danish Support
   Development Libraries
   Directory Server
   Dogtag Certificate System
   Dutch Support
   Educational Software
   Electronic Lab
   English (UK) Support
   Esperanto Support
   Estonian Support
   FTP Server
   Faroese Support
   Fedora Eclipse
   Fedora Packager
   Fijian Support
   Filipino Support
   Finnish Support
   Font design and packaging
   French Support
   Frisian Support
   Friulian Support
   Gaelic Support
   Galician Support
   German Support
   Greek Support
   Haskell
   Hiligaynon Support
   Hungarian Support
   Icelandic Support
   Indonesian Support
   Interlingua Support
   Irish Support
   Italian Support
   Java
   Java Development
   KDE Software Development
   Kashubian Support
   Kazakh Support
   Kinyarwanda Support
   Kurdish Support
   LXDE
   Latin Support
   Latvian Support
   Legacy Network Server
   Legacy Software Development
   Lithuanian Support
   Low Saxon Support
   Luxembourgish Support
   Macedonian Support
   Malagasy Support
   Malay Support
   Maltese Support
   Manx Support
   Maori Support
   MeeGo NetBook UX Environment
   MinGW cross-compiler
   Mongolian Support
   Nepali Support
   News Server
   Northern Sotho Support
   Norwegian Support
   OCaml
   Occitan Support
   OpenOffice.org Development
   Perl Development
   Persian Support
   Polish Support
   Portuguese Support
   PostgreSQL Database
   Romanian Support
   Ruby
   Samoan Support
   Sardinian Support
   Serbian Support
   Slovak Support
   Slovenian Support
   Somali Support
   Southern Ndebele Support
   Southern Sotho Support
   Spanish Support
   Sugar Desktop Environment
   Swahili Support
   Swati Support
   Swedish Support
   Tagalog Support
   Tetum Support
   Tibetan Support
   Tonga Support
   Tsonga Support
   Tswana Support
   Turkish Support
   Turkmen Support
   Ukrainian Support
   Upper Sorbian Support
   Uzbek Support
   Vietnamese Support
   Virtualization
   Walloon Support
   Web Development
   Welsh Support
   Window Managers
   Windows File Server
   X Software Development
   XFCE
   XFCE Software Development
   Xhosa Support
   Zulu Support
There doesn't seem to be a group for "Pashto".

Any ideas?
I will be grateful.

Thanks and Regards,
Ajay
 
Old 10-22-2011, 12:35 PM   #2
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,149

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
I'm sorry to say that there's not much support for Pashto. You can find a keyboard driver: it's listed under Afghanistan. LibreOffice and OpenOffice have no support. You can see what's being done to improve things here:
http://localizepashtu.sourceforge.net/
and suitable fonts are available here:
http://www.wazu.jp/gallery/Fonts_Pashto.html
 
1 members found this post helpful.
Old 10-22-2011, 12:45 PM   #3
ajaygarg
Member
 
Registered: Mar 2010
Location: New Delhi, India
Distribution: Fedora
Posts: 94

Original Poster
Rep: Reputation: 0
Hi DavidMcCann.
Thanks for the reply.

Hmm, I am a little confused.

On another F14 machine, locales -a does show "ps_AF.utf8". Moreover, when I manually set "LANG=ps_AF.utf8" in ~/.i18n, and reboot, some parts of my desktop do show a Urdu-like language, while rest of the part shows English.

1. So, is pashto partly available for F14?
2. Is this part support available on F11?
3. Also, keyboard driver for Pashto, but no OpenOffice supprt, means that pashto characters will be available on the terminal, but not in OpenOffice apps?

I may sound very stupid, but I am a complete newbie.

Looking forward to a reply.

Regards,
Ajay

Last edited by ajaygarg; 10-22-2011 at 12:46 PM.
 
Old 10-22-2011, 11:22 PM   #4
ajaygarg
Member
 
Registered: Mar 2010
Location: New Delhi, India
Distribution: Fedora
Posts: 94

Original Poster
Rep: Reputation: 0
On my f14 machine, there is a folder /usr/share/locale/ps, which contains localized messages for pashto.
On my f11 machine, /usr/share/locale/ps does not exist.

So, put more simply, what may I do, to have the folder /usr/share/locale/ps?



Regards,
Ajay
 
Old 10-23-2011, 10:36 AM   #5
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,149

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
To get /usr/share/locale/ps either install a newer version of Fedora, or copy the file from F14 to F11 (not guaranteed to work properly). This gives you translated messages for many programs, but some will be left in English because no-one has translated them yet.

For OpenOffice/LibreOffice, the question is whether it can recognise the need to use different forms of letters. Click on Tools - Options - Language settings - Languages. Mark the box "enable CTL" and select Farsi in the menu. I've just tried inserting some letters and it does seem to handle the ones with the ring below correctly, as far as I can see (I'm not a Pashto speaker).
 
Old 10-23-2011, 11:32 AM   #6
ajaygarg
Member
 
Registered: Mar 2010
Location: New Delhi, India
Distribution: Fedora
Posts: 94

Original Poster
Rep: Reputation: 0
WOW!!
That worked. Thanks a ton sir.

Just one more thing, by setting the LANG variable, F14 displays pashto script fonts.
However, on F11 (after the ps_AF directory copied in /usr/share/locale, and setting in ~/.i18n), the characters are not displayed (but rather some cryptic four-boxed-digits are visible).

I did some more research, and tried setting SYSFONT=165, and SYSFONT=165.cp, after reading /lib/kbd/consolefonts/README.Arabic. However, it still shows the same 4-boxed thing.

May be I am doing something fundamentally wrong?

Anyways, thanks a lot for your help


Regards,
Ajay
 
Old 10-23-2011, 01:37 PM   #7
ajaygarg
Member
 
Registered: Mar 2010
Location: New Delhi, India
Distribution: Fedora
Posts: 94

Original Poster
Rep: Reputation: 0
@DavidMcCann

I just remembered you talking about the keyboard driver for Pashto. Might that be the reason for the four-boxed issue?


Regards,
Ajay
 
Old 10-23-2011, 06:11 PM   #8
DavidMcCann
LQ Veteran
 
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,149

Rep: Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314Reputation: 2314
The characters being displayed as numbers just means that they are missing from your font in F11. Try installing one of the fonts from the site I mentioned.
 
Old 10-23-2011, 11:31 PM   #9
ajaygarg
Member
 
Registered: Mar 2010
Location: New Delhi, India
Distribution: Fedora
Posts: 94

Original Poster
Rep: Reputation: 0
DavidMcCann, again your pointer paved me to the way to success !!

Actually, the font cp.150 was present in /lib/kbd/consolefonts. The issue was the missing X11 Window System on F11 (it was present on F14). I happened to come across some information on raster-fonts (wikipedia rocks !!). Then, luckily, all I needed was to install bitmap-fonts, and voila ... I was done.

The credit, of course, all goes to you.

Thanks Genius !! Thanks, Thanks, Thanks.


Regards,
Ajay

Last edited by ajaygarg; 10-23-2011 at 11:33 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
BASH:find out if volume "foo"/folder "goo" can be written to SilversleevesX Programming 2 08-28-2010 10:03 AM
[SOLVED] Adding user "me" to group "you" doesn't take effect for a while. Why not? Le Beastie Linux - Newbie 1 12-09-2009 04:13 AM
How to get the "data type" of an "unknown variable" in "C Language" ? Affair Programming 8 06-20-2009 12:30 PM
chroot temporarily "cannot find name for group ID 0" quinthar Linux - Newbie 1 06-28-2008 06:58 PM
Can't install "glibmm" library. "configure" script can't find "sigc++-2.0&q kornerr Linux - General 4 05-10-2005 02:32 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 09:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration