[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-i18n-doc
Subject:    Re: Are translations cached?
From:       Vít Pelčák <vit () pelcak ! org>
Date:       2013-04-25 14:57:43
Message-ID: CACq8bh5sqgxRUTD0-cjEd0zO0rTBK3X0ROK0UHbik7LJj_=K=Q () mail ! gmail ! com
[Download RAW message or body]

Ah.

That works. mo file is created there.

Thank you.

2013/4/25 Yuri Chornoivan <yurchor@ukr.net>:
> написане Thu, 25 Apr 2013 16:48:49 +0300, Vít Pelčák <vit@pelcak.org>:
>
>
>>> Sure. Lokalize even has a script to build and install the translations
>>> locally from its interface (msgfmt.rc+msgfmt.py):
>>>
>>> http://websvn.kde.org/trunk/l10n-kde4/scripts/lokalize/
>>
>>
>> I tried to use these, but I have no clue how it works internally.
>>
>> I mean, I got those scripts into Lokalize, but when I launch that
>> script, it returns no message and file doesn't appear in locale dir.
>>
>> Does it need sudo? Because it needs write access into that dir.
>
>
> No, it does not need sudo or su -c. It just installs translations into
> ~/.kde4/share/locale/<your_language_code>/LC_MESSAGES (or into
> ~/.kde/share/locale/<your_language_code>/LC_MESSAGES).
>
> Superuser privileges are not needed to write into this directory which has a
> preference over /usr/share/locale.
>
> It works good here.
>
> If it does not work for you the standalone python script can be debugged buy
> substituting lang, package and Editor.currentfile() with their explicit
> values.
>
> Hope this helps.
>
> Best regards,
> Yuri



-- 
Vit Pelcak

------------------------------------------------------------------------------------------
For all wankers from US Government reading my personal stuff
according to fascist laws like Patriot Act:
Make the world a better place. Go jump off a bridge.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic