bugGNU Octave - Bugs: bug #57679, Missing qt translations in MXE...

 
 

bug #57679: Missing qt translations in MXE builds

Submitter:  Torsten Lilge <ttl>
Submitted:  Mon 27 Jan 2020 06:29:51 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  lostbard
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Tue 04 Feb 2020 09:33:51 PM UTC, comment #8: 

Closing as fixed

John Donoghue <lostbard>
Group Member
Wed 29 Jan 2020 07:38:22 PM UTC, comment #7: 

You will need run the post-install.bat file to ensure the qt.conf file is created

John Donoghue <lostbard>
Group Member
Wed 29 Jan 2020 05:56:05 PM UTC, comment #6: 

I am not using the installer, which then explains why I am not seeing the qt translations. I am just building the binary files for testing under windows without installing.

Torsten Lilge <ttl>
Group Member
Wed 29 Jan 2020 02:38:08 PM UTC, comment #5: 

Added generation in post-install

https://hg.octave.org/mxe-octave/rev/9057112edb8e

John Donoghue <lostbard>
Group Member
Wed 29 Jan 2020 01:00:40 PM UTC, comment #4: 

If you didnt youe the installer, that will be the issue as the qt.conf file currently gets generated in the installer

I guess it needs to be added into the post install script instead.

File contents is:

[Paths]
Prefix=C:/Octave/Octave-6.0.0.4/mingw64
Documentation=qt5/doc
Headers=qt5/include
Libraries=qt5/lib
Plugins=qt5/plugins
Translations=qt5/translation


Where prefix was is the mingw64 installed path

John Donoghue <lostbard>
Group Member
Wed 29 Jan 2020 11:22:43 AM UTC, comment #3: 

Ok - does it show a ok with a another language set that has a bigge r translation file?

If it doesbt show for any, then maybe it is more of an issue of its not finding the translations rather than the translations files being bad.

Are you using the installer or zipped package ?

In the mingw64 directory there should be a qt.conf file, whats the values it is using in it for the perfix and transations variables?

John Donoghue <lostbard>
Group Member
Wed 29 Jan 2020 06:02:26 AM UTC, comment #2: 

John, you are right, same here on my Debian installation. However, with a native build on Debian, standard buttons and dialogs are translated into German or Spanish. This is not the case with an mxe build for windows.

Torsten Lilge <ttl>
Group Member
Tue 28 Jan 2020 09:49:27 PM UTC, comment #1: 

Lookinng at qt_es.qm in my build i see a file 146 bytes in size, in the natively installed ubuntu qt5 qt_es.qm, its 14 bytes.

In my mxe build qt_en.qm is 16 bytes, in ubuntu installed qt5, its 16 bytes.



John Donoghue <lostbard>
Group Member
Mon 27 Jan 2020 06:29:51 PM UTC, original submission:  

While testing a recent mxe build from the dev branch I noticed that some qt translation are missing. I tested German and Spanish where standard dialogs and bottoms (for which the translations for these languages should generally be provided by qt itself) were missing.

In mingw64/qt5/translations, only few of the files qt_xx.qm files have reasonable size, qt_de.qm and qt_es.qm, e.g., only have 1 kB. For designer, assistant, and linguist however, the related files are as large as the one for other languages.

Is there something missing in the qt installation for the mxe builds?

Torsten Lilge <ttl>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by lostbard (Posted a comment)
  • -email is unavailable- added by ttl (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-02-04 lostbard StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2020-01-29 lostbard StatusNone Ready For Test
        Assigned toNone lostbard

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code