All of lore.kernel.org
 help / color / mirror / Atom feed
* How can write the menu grub on the right in arabic language?
@ 2011-04-18 10:16 Elham Rastgoo
  2011-04-18 15:28 ` Vladimir 'φ-coder/phcoder' Serbinenko
  2011-04-18 21:40 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 2 replies; 8+ messages in thread
From: Elham Rastgoo @ 2011-04-18 10:16 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 2146 bytes --]

>  When I write the menu grub in arabic language and move title to  the
> right
>    in grub.cfg , it just stays on  the left :(
>    Whereas I can move english title to the left or right !!!
>    why??
What exactly do you do? Can you attach your configfile/themes in question?
>    I use grub-1.99~rc

my config(grub.cfg) file is :
function load_video {
  insmod vbe
  insmod vga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set=root 48702a16-46c1-4096-9b37-e391d675b03e
if loadfont /grub/unifont.pf2 ; then
  set gfxmode=640x480
  load_video
  insmod gfxterm
fi
terminal_output gfxterm
insmod part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set=root 48702a16-46c1-4096-9b37-e391d675b03e
insmod tga
insmod gfxmenu
insmod png
set theme=($root)/grub/themes/winter/theme.txt
insmod part_msdos
insmod ext2
set root='(hd1,msdos5)'
search --no-floppy --fs-uuid --set=root 48702a16-46c1-4096-9b37-e391d675b03e
set locale_dir=($root)/grub/locale
set lang=ar
insmod gettext
set timeout=5

menuentry"
فدورا" --class gnu-linux --class gnu --class os { load_video
    set gfxpayload=keep
    insmod part_msdos
    insmod ext2
    set root='(hd0,msdos5)'
    search --no-floppy --fs-uuid --set=root
014b53c2-f654-4346-ace0-be9a8c5344aa
    echo    'Loading Linux-2.6.31.5-127-fedora.i686.PAE ...'
    linux /vmlinuz-2.6.31.5-127.fc12.i686.PAE root=/dev/sda6
    echo    'Loading initial ramdisk ...'
    initrd /initramfs-2.6.31.5-127.fc12.i686.PAE.img
}

At first I wanted to write arabic fedora on the right, but it just stayed on
the left in menu grub,
so I tryed to attach theme to grub, I wanted to write arabic fedora on the
write by align label in theme
but themes attached didn't work (show black page without anything)
I've download themes from
 http://download.savannah.gnu.org/releases/grub-extras/
when I remove all of theme's line except terminal-box and desktop-image
it work and grub shows just desktop image
I'm confused :(



-- 
Best Regards
E.R

[-- Attachment #2: Type: text/html, Size: 3377 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread
* How can write the menu grub on the right in arabic language?
@ 2011-04-19  5:59 Elham Rastgoo
  2011-04-19  6:23 ` Vladimir 'φ-coder/phcoder' Serbinenko
  2012-02-22 15:06 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 2 replies; 8+ messages in thread
From: Elham Rastgoo @ 2011-04-19  5:59 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 563 bytes --]

> >  When I write the menu grub in arabic language and move title to  the
> > right
> >    in grub.cfg , it just stays on  the left :(
> >    Whereas I can move english title to the left or right !!!
> >    why??
Easy: you put the spaces before, so they are rendered to the *right* of
the text, not to the left.
as for the theme, I'll retest it. Have you tried with apebox theme?
yes, I have tried apebox theme, it doesn't work too,
I undrestand grub cann't load boot_menu tag, when I remove that from theme,
other tag load correctly!!
why?

-- 
Best Regards
E.R

[-- Attachment #2: Type: text/html, Size: 738 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread
* How can write the menu grub on the right in arabic language?
@ 2011-04-17  7:32 Elham Rastgoo
  2011-04-17  7:46 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 1 reply; 8+ messages in thread
From: Elham Rastgoo @ 2011-04-17  7:32 UTC (permalink / raw)
  To: grub-devel

[-- Attachment #1: Type: text/plain, Size: 244 bytes --]

 When I write the menu grub in arabic language and move title to  the right
   in grub.cfg , it just stays on  the left :(
   Whereas I can move english title to the left or right !!!
   why??
   I use grub-1.99~rc
   --
   Best Regards
   E.R

[-- Attachment #2: Type: text/html, Size: 334 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2012-02-22 15:06 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-04-18 10:16 How can write the menu grub on the right in arabic language? Elham Rastgoo
2011-04-18 15:28 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-04-18 21:40 ` Vladimir 'φ-coder/phcoder' Serbinenko
  -- strict thread matches above, loose matches on Subject: below --
2011-04-19  5:59 Elham Rastgoo
2011-04-19  6:23 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-02-22 15:06 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-04-17  7:32 Elham Rastgoo
2011-04-17  7:46 ` Vladimir 'φ-coder/phcoder' Serbinenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.