From: Marek G. <xg...@in...> - 2001-11-08 20:56:13
|
Hi, so I'm looking forward on your ideas how to solve i18n in JOE. There are 4 things (as far as I know) which we need. 1) help files 2) messages 3) status line 4) reply of the user (yes/no; replace/find/ignore) 1) help files could be done through several files, each for one language. Directory help/ will be created and there will be all help files. The only thing which needs to be done is to rewrite procrc() to handle with %locale% which will be replaced by curent LC_MESSAGE 2) messages can be done by gettext, I think this should be quite easy. 3) status line, I'm not quite sure how to do it. Perhaps marking it as 'this needs to be translated' and it will be translated from gettext catalogue. 4) I believe that it would be fine to accept characters which are usuall for this country. Marking yes as ^yes, replace as ^replace should be easy implement. And when printing ^ will be removed and character after ^ will be answer. any comments, ideas, ... send to list. marx |