| View previous topic :: View next topic |
| Author |
Message |
Seron Apprentice


Joined: 31 Dec 2002 Posts: 272 Location: Malmö, Sweden
|
Posted: Mon Sep 19, 2005 6:16 pm Post subject: getting umlauts in the fluxbox menu with UTF-8 |
|
|
If you have problems displaying umlauts in the fluxbox menu you might try what worked for me. This post by Jan Pauli in bugzilla gave me an idea about what needed to be done. This guide assumes you've got UTF-8 working in your terminal window or console so that you can check if text has been converted correctly.
Extract fluxbox into a temporary directory (e.g. ~/temp), then go into your language directory. | Code: | $ tar xjf /usr/portage/distfiles/fluxbox-0.9.13.tar.bz2
$ cd fluxbox-0.9.13/nls/sv_SE | run | Code: | | $ iconv -f ISO-8859-1 -t utf-8 Translation.m > Translation.m.new | check if it looks ok, then replace the old file | Code: | $ less Translation.m.new
$ mv Translation.m.new Translation.m | go back to fluxbox package root directory and run configure | Code: | $ cd ../..
$ ./configure --enable-nls | go back to your language directory (sv_SE in my case) and run makeas root copy the fluxbox.cat file (I suggest you make a backup of your old one) | Code: | | $ cp ~/temp/fluxbox-0.9.13/nls/sv_SE/fluxbox.cat /usr/share/fluxbox/nls/sv_SE/ |
Now you can regenerate the menu. However some menu items that are not in Translation.m might still not display correctly. Those menu items are located in /usr/bin/fluxbox-generate_menu and can be edited or perhaps iconv -erted which I didn't try myself. _________________ man cannot be brave without being afraid |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|