How to make JWM menu in your language.

For efforts in internationalising Puppy and solving problems in this area
Post Reply
Message
Author
User avatar
melvix
Posts: 96
Joined: Sat 14 Jul 2007, 18:48
Location: Vilnius, Lithuania
Contact:

How to make JWM menu in your language.

#1 Post by melvix »

In the new versions of Puppy Linux JWM menu generate with XDG template (/etc/xdg/templates/_root_.jwmrc) and fixmenu script (/usr/sbin/), then is putting in /root (.jwmrc). Now the translation of this file not good method becouse the new program's installation or Puppy's installation generate new .jwmrc file in English.
To solve this problem you must to edite all files (submenu) in /usr/share/applications (now 135) with program's name (Name=Program's name in your language), for example in Russian:
[quote]Desktop Entry]
Encoding=UTF-8
Name=Тек
Attachments
JWM_ru_3.tar.gz
JWM Russian menu
(19.82 KiB) Downloaded 1035 times
[url=http://www.puppyrus.org/]Free software for free people![/url]

User avatar
gsxlm
Posts: 41
Joined: Tue 22 Apr 2008, 01:41

#2 Post by gsxlm »

Very good.I'll try it in my language.

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#3 Post by HairyWill »

Here is part of a .desktop entry out of my debian install.

Code: Select all

[Desktop Entry]
Encoding=UTF-8
Name=Evolution Mail
Name[sv]=Evolution e-post
Name[xh]=I-Imeyili ye-Evolution
Name[zh_CN]=Evolution 电
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
melvix
Posts: 96
Joined: Sat 14 Jul 2007, 18:48
Location: Vilnius, Lithuania
Contact:

#4 Post by melvix »

Good idea!
I also think about this, looking the .desktop files for new program. For example:

Code: Select all

[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=GNOME PPP
Name[be]=GNOME PPP
Name[ca]=GNOME PPP
Name[de]=GNOME PPP
Name[es]=GNOME PPP
Name[fr]=GNOME PPP
Name[it]=GNOME PPP
Name[mk]=GNOME PPP
Name[pl]=GNOME PPP
Name[pt_BR]=GNOME PPP
Name[ru]=GNOME PPP
Name[sr]=ГППП
Name[sr@Latn]=GPPP
Name[sv]=Uppkopplingsverktyg
Name[tr]=GNOME PPP
Name[vi]=GNOME PPP
Comment=Программа дл
[url=http://www.puppyrus.org/]Free software for free people![/url]

magerlab
Posts: 739
Joined: Sun 08 Jul 2007, 20:08

#5 Post by magerlab »

i think it must be included in puppy by default

we must compile a multilanguage menus for puppy out of the box!

magerlab
Posts: 739
Joined: Sun 08 Jul 2007, 20:08

#6 Post by magerlab »

the only thing one should not forget!
fixmenus works only with unicode text files

Post Reply