Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
getting umlauts in the fluxbox menu with UTF-8
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
Seron
Apprentice
Apprentice


Joined: 31 Dec 2002
Posts: 293
Location: Malmö, Sweden

PostPosted: Mon Sep 19, 2005 6:16 pm    Post subject: getting umlauts in the fluxbox menu with UTF-8 Reply with quote

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 make
Code:
$ cd -
$ make
as 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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Page 1 of 1

 
Jump to:  
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