installing from git and translations from release?

René J.V. Bertin rjvbertin at gmail.com
Thu Sep 1 19:48:13 UTC 2016


René J. V. Bertin wrote:

Hi,


>> 2. Did KDevelop translations work for you on Mac OS X before? I only
>> use KDevelop on Linux.
> 
> I'll have to double-check with KDevelop4 but I think they did work there. And

Yes, translations work fine in KDevelop4 (apart from me not having the latest, so not everything is translated).

>> 3. I find strace helpful to see where an app tries to load
>> translations from. You may want to use a Mac OS X equivalent for
>> strace.

As far as I can see from dtruss output, the correct locations are scanned, like when switching to French:

45162/0x63622a:  stat64("/Users/bertin/.local/share/locale/fr/LC_MESSAGES/kdevelop.mo\0", 0x7FFF50BAFEE8, 0x9)           = -1 Err#2
45162/0x63622a:  stat64("/opt/local/share/locale/fr/LC_MESSAGES/kdevelop.mo\0", 0x7FFF50BAFEE8, 0xC)             = 0 0
45162/0x63622a:  stat64("/Users/bertin/.local/share/locale/fr/LC_MESSAGES/kdevelop.mo\0", 0x7FFF50BAFEE8, 0x9)           = -1 Err#2
45162/0x63622a:  stat64("/opt/local/share/locale/fr/LC_MESSAGES/kdevelop.mo\0", 0x7FFF50BAFEE8, 0xC)             = 0 0

That file also does contain French expressions, so all this taught me is that the issue isn't due to simply looking in the wrong places. So I'll probably have to dive into the code after all.

Question: why the .mo extension, and not the .qm (corresponding to a different format) as used for the frameworks?

FWIW, I do see this from time to time on my calling terminal when running KDevelop5:

No language dictionaries for the language: "pt"

That's most likely correct in that none of my KF5 applications have the Pt translations installed, but who posts that message, and why?

R.


More information about the KDevelop-devel mailing list