Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [Solved] Settings menu item in Spanish translation is missing, replaced by Page Setup menu item, on Mac OSX
QtWS25 Last Chance

[Solved] Settings menu item in Spanish translation is missing, replaced by Page Setup menu item, on Mac OSX

Scheduled Pinned Locked Moved General and Desktop
3 Posts 2 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bootchk
    wrote on last edited by
    #1

    This documents a programmer error on OSX using Spanish translations.

    If you translate 'Page Setup' to 'Configuracion de Pagina' for a QAction menu item, on OSX Qt automagically moves it to the App menu, where 'Preferences' would normally be (and overwriting the 'Settings'/'Preferences' menu item.) I suppose Qt is comparing the translation of 'Settings' i.e. 'Configuracion' to find which menu items to move (and it mistakenly moves more than one?)

    The solution is not to use the Spanish word 'Configuracion' as the prefix of any menu items other than the 'Settings' menu item.

    Despite that places like wordreference.com (the best translation website) recommend 'Configuracion de Pagina' for 'Page Setup.' I am using 'Puesta en Papel' instead, for 'Paper Layout' or literally 'Design in Paper.' I haven't tried it, possibly 'Pagina Configuracion' would work.

    1 Reply Last reply
    0
    • B Offline
      B Offline
      bootchk
      wrote on last edited by
      #2

      Also, my Spanish translation of 'About MyApp' is 'Acerca de MyApp', and Qt DOES automagically move that to the Help menu.

      Also, my Spanish translation of 'Settings' is 'Preferencias' and Qt does NOT move that to the App menu (on OSX)? I suppose I could look in the code and in qt_ts.

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi,

        You can also use the MenuRole property to help put the action on the right place

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved