Giter Club home page Giter Club logo

Comments (5)

jeromerobert avatar jeromerobert commented on June 7, 2024

Notifying @carlos22 as he is the first one to have worked on this issue.

from pdfarranger.

carlos22 avatar carlos22 commented on June 7, 2024

They had a similar problem and fixed it this way: https://github.com/Cimbali/pympress/pull/21/files
This avoids the usage of libintl - which was there fix in the first place for this problem on windows. There is an issue in the repo somewhere. But maybe the SO also helps? Will test soon if i find some time :-)

from pdfarranger.

jeromerobert avatar jeromerobert commented on June 7, 2024

Looping on all widget looks to change their labels with their gettext translation seems clever but also hacky. I'll commit the libintl solution soon, but I don't mind having both in the repo so we could test them.

from pdfarranger.

jeromerobert avatar jeromerobert commented on June 7, 2024

I tried https://gitlab.gnome.org/GNOME/meld/blob/master/bin/meld#L114 with no luck. I get no error message and no Gtk.Builder translation.

from pdfarranger.

carlos22 avatar carlos22 commented on June 7, 2024

Hmm same for me. Not sure why. The pympress people did the same before the above linked change: https://github.com/Cimbali/pympress/pull/21/files#diff-e41eead59a5b8d11220101c32c3cf0a8L184 - not sure why they don't need to load it afterwards. I think it is because of the looping which seems to be less hacky than loading a dll?! Because after your changes (or even before?) Some parts of the app get translated, but not all (Save becomes Speichern for example).

from pdfarranger.

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.