[Eric] Install a translation

Detlev Offenbach detlev at die-offenbachs.de
Mon Oct 8 19:56:23 BST 2012


Hi,

actually the code a few lines before should read

targetDir = getConfig('ericTranslationsDir')

Detlev

On Monday 08 October 2012, 17:47:29 Ali-Kémal AYDIN wrote:

Hi,


I've tried to install the french translation and it seems there is a bug in 
the install-i18n.py file. Indeed, after reading the file I've understood when 
I run it (without -p), it copy the *.qm in the eric5 folder and not in the 
i18n folder. Maybe it's only on my computer (how ?), however I don't think so 
! 



Here : shutil.copy2(fn, targetDir), it has to be shutil.copy2(fn, 
os.path.join(targetDir, "i18n")


If I'm wrong, say it, i'm not a professional of Python :)




-- 
Detlev Offenbach
detlev at die-offenbachs.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/eric/attachments/20121008/20bd184e/attachment.html>


More information about the Eric mailing list