Giter Site home page Giter Site logo

Problem with translations about texworks HOT 2 CLOSED

texworks avatar texworks commented on July 3, 2024
Problem with translations

from texworks.

Comments (2)

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
To use the translation, you will currently need to put the .qm file into the 
"translations" directory within the TeXworks 
runtime support directory (on Linux: ~/.texworks/translations; on Mac: 
~/Library/TeXworks/translations; on Windows: 
$HOME/texworks/translations, I think). Then you should be able to select German 
in the preferences, and re-launch the 
app.

Simply adding a .qm file to res/resfiles/translations will not currently get it 
included in the build; you have to run the mkresfilelist.sh script to update 
the resource file list, re-run qmake, and then rebuild. And then you have to 
remove the 
runtime translations directory, so that TeXworks recreates it and copies the 
new default contents into that dir.

In addition to this (currently rather confusing) procedure, there was also a 
bug, so even though you could select German 
once the .qm file was installed in the right place at runtime, the translation 
would not be used! This is now fixed in 
r.109, so I can see your localized strings in the Find dialog, etc.

(I'm trying to decide whether to directly use built-in translation resources, 
which means end-users can't add or remove 
them at will without rebuilding the app, or if it's better to keep them in a 
separate directory - as currently - so that they 
can be updated independently of a full rebuild. In this case, we'd bundle a 
collection of translations to provide default 
contents for the directory, but users would be free to add or remove them, as 
they're separate files on disk.)


Original comment by [email protected] on 4 Aug 2008 at 6:59

  • Changed state: Fixed

from texworks.

GoogleCodeExporter avatar GoogleCodeExporter commented on July 3, 2024
Hello Jonathan,

I did that (the runtime variant), but I can't select anything in the 
preferences. I
use rev111 on an Ubuntu 8.04 system.

Martin

Original comment by [email protected] on 6 Aug 2008 at 1:02

from texworks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.