Author Topic: Trouble for compilation and languages on mac OS X  (Read 358 times)

0 Members and 1 Guest are viewing this topic.

cabsen

  • Level 1
  • *
  • Posts: 4
    • View Profile
Trouble for compilation and languages on mac OS X
« on: October 15, 2016, 04:36:05 PM »
Hello,

On mac OS X Sierra and El Capitan, we met a trouble with compilation and the access to the languages.

For compilation, see the link below : http://stackoverflow.com/questions/33728905/qt-creator-project-error-xcode-not-set-up-properly-you-may-need-to-confirm-t

For the access to the languages, we met the message below :
Quote
Translation for specified language not loaded - maybe the translation file is missing - setting the language to en_US (US English)
FET searched for the translation file fet_fr.qm in the directory /Applications/fet5305/fet.app/Contents/MacOS, then in the directory /Applications/fet5305/fet.app/Contents/MacOS/translations and then in the directory /usr/share/fet/translations (under systems that support such a directory), but could not find it.
For security reasons, we can't access to the "share" directory but only "local" since mac OS El Capitan. We even can't create manually the directory "fet" in the directory "share" but only in the directory "local".
Would it be possible to change it in the source file ?

Volker Dirr

  • Forum Administrator
  • Level 5
  • *****
  • Posts: 1859
    • View Profile
Re: Trouble for compilation and languages on mac OS X
« Reply #1 on: October 16, 2016, 01:08:53 AM »
why do you try to solve the problem by the last suggestion if you can't access the share folder?
just move the translation into the fet.app file like it is written in the sugestion.

Liviu Lalescu

  • Forum Administrator
  • Level 5
  • *****
  • Posts: 5102
  • FET author and forum moderator
    • View Profile
    • Homepage
Re: Trouble for compilation and languages on mac OS X
« Reply #2 on: October 16, 2016, 01:33:04 AM »
It is very easy to change in the sources, but I am not sure it is a good thing. Because there are many users with /usr/share/fet/translations now. FET should be installed under GNU/Linux with "sudo make install", so with root access. I could modify so that FET searches in share, then in local, but also I am not sure it is a good thing, because it mixes too many things.

But why can't you put the translations in the fet.app?

The responsible code is in src/interface/fet.cpp, search for "share" (without quotes).