-
Notifications
You must be signed in to change notification settings - Fork 162
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RFE: move to gettext #208
Comments
gentle ping 😄 |
Hmm, gettext is not a dependency I'd want for the other platforms qtkeychain can be used on, i.e. Windows, macOS, Android/iOS. |
Android and MOX in libc have i18n support. |
This should probably be at Qt level, rather than any specific application or library. Qt can decide internally which text utilities to use on each platform, and provide a cross-platform interface to Qt applications. Also, since QtKeyChain is a library, not a user-facing app, I don't understand where gettext is even relevant for QtKeyChain. |
Nope. I don't know is it any plan to drop Qt specyfic .qm supprt however I would be not surprised if it is alredy on mid/short term ToDo list. |
Hi @kloczek, I'm just a user of QtKeychain, but I'd still like to share some thoughts here... First, I'd really prefer if QtKeychain does not have further dependencies. Currently, it only depends on the sole Qt core libraries - this makes it very easy to integrate into other apps. Yes, for apps that are developed in the KDE ecosystem, a dependency on GNU gettext is certainly not an issue, but for everything else, this will complicate things. Second, considering file formats: I'd like to point out that it is perfectly possible to convert between the different formats using And lastly, I really don't think Qt is using gettext itself. Yes - you will find some |
This not precisely true.
From that point of view swithing to gettext does not add any new dependencies (so I dont't see to much sense in that comment 😋 ) |
Sorry, but I disagree here:
|
And by the way... Looking at the implementation of ECM, more specifically, the https://github.com/KDE/extra-cmake-modules/blob/master/modules/ECMPoQmTools.cmake#L181 Basically, what happens is that these So maybe what you mean is: Would it make sense using But this does not mean that QtKeychain needs to use the gettext library and tools - which is a completely different thing. |
qtbase has no any translatiins (qt based or gettest based). |
The translations are stored in the |
Most of the KDE projects already moved to gettext.
It would be good to follow that path to getter reuse in memory of the code with other application.
The text was updated successfully, but these errors were encountered: