Hi Stefan,

Ah, ok clear.

One idea I had later, is: the shown text in the gui is actually the text that 
comes from the ts (Qt translation) files (which are 'compiled' to binary qm(?) 
files by (eg) Qt Linguist.
So (even the english texts in the gui) are determined by the <locale).qm file 
in the QGIS installation.
So if you manage to update/change the en_US.qm or de.qm in the i18n 
installation dir, then the gui will show THOSE strings.
Best would be probably do that during or just after installation, but maybe 
your python script is able to do that?
Last resort is to update the/an installer (with your custom qm files) I think?

Regards,

Richard Duivenvoorde


On 1/19/23 08:57, Stefan Giese (WhereGroup) wrote:
Hi Richard,

I have already an account to do it - but my question was more into the 
direction, if this text is local available - so it is not. The background is, 
one of our customers has banned the official plugin repo from QGIS - this can 
be done manipulating the installer_data.py. Now they also want to change the 
text one the right side...

thanks anyway for your answer

Stefan

Am 19.01.2023 um 08:34 schrieb Richard Duivenvoorde:
Mmm,

but   mTabDescriptions.insert( QStringLiteral( "all_plugins" ), tr( "<h3>All 
Plugins</h3>\

means it uses the tr-function, meaning it is being translated, so it should 
show up in the QGIS tr file...

So, yes, it is in: https://github.com/qgis/QGIS/blob/master/i18n/qgis_de.ts

Looking at https://github.com/qgis/QGIS/commits/master/i18n/qgis_de.ts the 
actual translation is in transifex.

So: grab an transifex account, join the German translation group (ask 
Juergen?), and translate

https://www.transifex.com/qgis/QGIS/viewstrings/#de/qgis-application/180485114?q=text%3A'On+the+left+you+see+the+list+of+all+plugins'

If you provide me a proper text I'm also happy to add it
(but better if we spread such knowledge/skills)

Regards,

Richard Duivenvoorde



On 1/18/23 10:42, Ismail Sunni via QGIS-Developer wrote:
Hi Stefan,

It seems the text is hardcoded: 
https://github.com/qgis/QGIS/blob/master/src/app/pluginmanager/qgspluginmanager_texts.cpp#L11
 
<https://github.com/qgis/QGIS/blob/master/src/app/pluginmanager/qgspluginmanager_texts.cpp#L11>

Best regards

On Wed, Jan 18, 2023 at 2:23 PM Stefan Giese (WhereGroup) via QGIS-Developer 
<qgis-developer@lists.osgeo.org <mailto:qgis-developer@lists.osgeo.org>> wrote:

    Hi Devs,

    we want to change this text which is shown in the Plugin menu. Is this 
configurable?

    Best regards

    Stefan

    --     Mit freundlichen Grüßen
    Stefan Giese
    Projektleiter/Consultant
    ---------------------------------------------
    Aufwind durch Wissen!
    Jetzt neu: Web-Seminare und Online-Schulungen
    bei derwww.foss-academy.com <http://www.foss-academy.com>
    ---------------------------------------------
    WhereGroup GmbH
    Schwimmbadstr. 2
    79100 Freiburg
    Germany

    Tel.: +49 (0)761 / 519 102 - 61
    Fax: +49 (0)761 / 519 102 - 11

    stefan.gi...@wheregroup.com <mailto:stefan.gi...@wheregroup.com>
    www.wheregroup.com  <http://www.wheregroup.com>
    Geschäftsführer:
    Olaf Knopp, Peter Stamm
    Amtsgericht Bonn, HRB 9885

    _______________________________________________
    QGIS-Developer mailing list
    QGIS-Developer@lists.osgeo.org <mailto:QGIS-Developer@lists.osgeo.org>
    List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer 
<https://lists.osgeo.org/mailman/listinfo/qgis-developer>
    Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer 
<https://lists.osgeo.org/mailman/listinfo/qgis-developer>



--
Ismail Sunni
Software Engineer
ismailsunni.id <http://ismailsunni.id>
ismailsunni.wordpress.com <http://ismailsunni.wordpress.com>

_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer


_______________________________________________
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to