From: Egmont K. <eg...@uh...> - 2006-05-22 13:47:01
|
Hi, > I've finally added gettext() support for JOE- it's now checked into CVS. Cool :-) > I've checked in the messages.po file as well. It would be helpful if > someone would create one translation. I'd be happy to create the Hungarian translation, but I'm unable to update my joe cvs tree since a long time ago. At this moment it says cvs [update aborted]: connect to cvs.sourceforge.net(66.35.250.207):2401 failed: No route to host > I still need to set up ./configure to install everything properly. Any > hints or suggestions would be welcome. I don't know which subdirectory to > put the translation files in The subdirectory called "po" is probably the most standard and GNU way. > or how to tell configure the location (it's > complaining about a missing SUBDIR definition). > > Also I'm not sure how to deal with the manual page The standard installed location for intl manpages is a subdirectory with the language code between the "man" and "man<sect>" directories, for example English => /usr/share/man/man1/joe.1 Hungarian => /usr/share/man/hu/man1/joe.1 I don't know if there's a standard way where to put these inside the source, and what to call them (e.g. joe.hu.1) if you want to avoid plenty of subdirs within the source (which is a reasonable idea). > or help text in the joerc > file. There is an :include command for the joerc file- perhaps translations > of the help screens should go in different files, or configure can merge > them in. Unfortunately I cannot help in autoconf details, and have no good idea how to solve the translating of help texts. Maybe the :include command could be used, if it's tricked a bit so that e.g. ":include foo" includes "foo.hu" if it's available and locale is hungarian, and falls back to "foo". It's a bit ugly since it trashes /etc/joe by putting many many files there. Or maybe joerc itself could contain the translations for many languages with a special syntax, e.g. {Basic[hu] \i .... This is a bit similar to the .desktop files that form the Gnome/KDE application menu. -- Egmont |