[texworks] Linguist problems (was: translation updates)

Mojca Miklavec mojca.miklavec.lists at gmail.com
Tue Jul 7 19:29:33 CEST 2009

On Tue, Jul 7, 2009 at 19:19, Mojca Miklavec wrote:
> On Tue, Jul 7, 2009 at 17:44, Stefan Löffler wrote:
>> Mojca Miklavec schrieb:
>>>>>>> One oddity. I have just figured out (for a little while) that the
>>>>>>> window in upper right corner actually displays translations in
>>>>>>> graphical mode. I saw this behaviour for just about a few minutes. Now
>>>>>>> it says
>>>>>>>    File /Users/mojca/dev/tex/texworks/trans not readable
>>>>>>> again. Did anyone else experience a similar behaviour?
>>>> Did you try running lupdate to refresh the translation files?
>>> Yes. Several times. (Maybe my lupdate is misfunctioning?)
>> I'm beginning to suspect the same...
>> No, I don't see the translated GUI that should be displayed. I checked
>> the .ts file and found that it doesn't contain any references to the
>> source files from where the strings are taken (which it should - see the
>> german file for comparison).
>> Strangely, running lupdate doesn't have any effect. If I delete all the
>> files, however, and then run lupdate I get all the correct location lines.

I figured out that running
    lupdate-4.5 -locations absolute TeXworks.pro
does help and also helps in case of missing locations. (And it adds
relative, not absolute paths.)

So I'll try to use that and will hope that it will work in future. (Is
it possible to fix anything in the original .pro file to instruct
lupdate to "behave as expected"?)

Thanks for the pointer,

More information about the texworks mailing list