Giter Site home page Giter Site logo

Translation of DotDotGoose about dotdotgoose HOT 8 CLOSED

persts avatar persts commented on June 8, 2024
Translation of DotDotGoose

from dotdotgoose.

Comments (8)

persts avatar persts commented on June 8, 2024 1

@A-d-r-i Thanks for catching the missing icons, this was due to a change from Qt5 to Qt6. I will get the icons added to the repo soon.

Regarding translation, Qt has a built in translation ability. I would love to see this done, but need to make some changes to the code base. Then I can generate a .ts file which can be edited with Qt Linguist and the translation can be done by anyone regardless of programming experience. This would hopefully encourage others to come forward and help translate DDG into even more languages.

If you are willing to help, I can copy the translations you have already done in the fork into the .ts file, then you would only need to review and make any final translations. This is going to take me a week or two to complete.

I will also look into the chip export issue.

from dotdotgoose.

persts avatar persts commented on June 8, 2024 1

Yes the .ts file have to be compiled.

lrelease translations/ddg_fr.ts -qm i18n/ddg_fr.qm

I added the window icon. I hope to bundle and release a new binary the first week of January. Thanks again for all the help.

from dotdotgoose.

A-d-r-i avatar A-d-r-i commented on June 8, 2024

Thank you very much for your answer ! With the icons I could thus test the compatibility of the text+icon on the interface.

The translation is almost finished on my side I think (DDG + doc), you can use it without problem! And of course do not hesitate to ask for my help if needed.

from dotdotgoose.

persts avatar persts commented on June 8, 2024

@A-d-r-i Make a new clone of the repo. I have added internationalization support, fixed the chip export, and added an additional export type.

It should detect your language based on the locale settings of your computer, but there is also a way to manually select the language, which requires a restart of the program as I don't see any way to dynamically change the language on the fly.

In the translations directory there are (only one right now) .ts files. These are built with the pylupdate6 utility from the ui and py files. The .ts files can be edited with Qt Linguist / QtCreator. No programming skills are needed. I have copied most of your translations over and will ask you to review/update at some point soon, but I still need to add a few extra things that will likely add additional entries to the .ts files. I hope to complete the remaining updates by the end of next week.

from dotdotgoose.

A-d-r-i avatar A-d-r-i commented on June 8, 2024

Oh wow! Thank you very much for your speed and efficiency Peter!

Everything works perfectly on my side: icons, chips and other exports...
Qt Linguist is installed, I'm waiting for your confirmation to finish the translations and I'll send you all that (with a pull request?).


Subsidiary question, I have a little trouble translating "chips" into French. I've defined this as "details", it seems a little too broad to me but I can't find anything more specific.

To be more clear, "Export Image Chips" is translated with the equivalent of "Export image details".
Is it okay for you?

from dotdotgoose.

persts avatar persts commented on June 8, 2024

@A-d-r-i I think all of the UI and message generating changes are done. So you can move forward with the translation. A pull request is fine and feel free to update the entry in the about_dialog.py if you want something different.

re: chips...hmmm
sub-images
image subsets
image fragments
image pieces
clipped images
cropped images

from dotdotgoose.

A-d-r-i avatar A-d-r-i commented on June 8, 2024

Great ! I'll work on doing that in the next few days then. Thanks for the attention in about_dialog, it's perfect! 😊

Congratulations for the new features and quite simply for this application that I use very regularly (ornithologist I regularly count large groups of birds).

Perfect for the details of "chips" I will find an equivalent!

from dotdotgoose.

A-d-r-i avatar A-d-r-i commented on June 8, 2024

Done for translation! 😎 The pull request is requested.
Normally everything is good, I could not test through python because surprisingly it does not take into account the file. I have the impression that the current translation comes from the file ./i18n/ddg_fr.qm.

Maybe an idea to keep in mind: add the DotDotGoose icon to the program to replace the classic one (on windows in particular) :
image

from dotdotgoose.

Related Issues (18)

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.