help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to localise emacs to french ?


From: Pascal J. Bourguignon
Subject: Re: How to localise emacs to french ?
Date: Thu, 23 Oct 2014 00:18:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

gelinp38@gmail.com writes:

> Hi,
>
> I found french-utf8.pl script to localise emacs menu items to french. But I 
> fail to load it. To do so I add this lines into .emacs file :
>
> ;; --------------------------------------------
> ;; Tell emacs where is your personal elisp lib dir
> (add-to-list 'load-path "~/.emacs.d/elisp")
>
> ;; load the packaged named xyz.
> (load-library "french-utf8.pl")
> ;; --------------------------------------------
>
> The result is a warning and menu always in french :
>
> ///////////////////////////////////////////////////
> Warning (initialization): An error occurred while loading 
> `/home/gelinp/.emacs':
>
> File error: Cannot open load file, french-utf8
>
> To ensure normal operation, you should investigate and remove the
> cause of the error in your initialization file.  Start Emacs with
> the `--debug-init' option to view a complete error backtrace.
> ///////////////////////////////////////////////////
>
> Is .pl files sames as .el scripts ? Do I need to modify the .emacs file ?

'.pl' files are perl files.

You don't localize emacs from emacs lisp, because a lot of strings are
used and referenced from C code.

You have to do it from the source distribution of emacs, apparently, by
putting this french-utf8.pl file in some specific place in the sources
directory, and then compiling emacs will run this script and add the
French strings.  I don't know the details, but do read the comment in
french-utf8.pl and perhaps some further documentation in the place where
you found it.


-- 
__Pascal Bourguignon__                 http://www.informatimago.com/
“The factory of the future will have only two employees, a man and a
dog. The man will be there to feed the dog. The dog will be there to
keep the man from touching the equipment.” -- Carl Bass CEO Autodesk


reply via email to

[Prev in Thread] Current Thread [Next in Thread]