translating Inkscape name

Discussion about writing code for Inkscape.
bernhard
Posts: 1
Joined: Tue Oct 27, 2015 5:05 am

translating Inkscape name

Postby bernhard » Tue Oct 27, 2015 5:48 am

Hello,

I am doing my own version of Inkscape and I would like to alter Inkscape name that appears in the Inkscape window like "New document 1 - Inkscape",
where in the source code can I alter the Inkscape to Inkscape3Dx?
Thank you very much for any answer :)

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: translating Inkscape name

Postby Moini » Tue Oct 27, 2015 7:35 am

Hi Bernhard,

that sounds interesting - what will it be able to do?

About the name:
Please read the Inkscape trademark policy carefully first: https://inkscape.org/en/about/trademark-policy/
Then contact the Software Freedom Conservancy or the Inkscape Board about the naming.
I'm not sure if this is allowed by Inkscape's trademark policy, but I am not a lawyer and therefore you should ask there.
If you just do it without asking, it might be seen as a trademark violation (and even with asking, they just might tell you that you need to choose a different name).

If I wanted to change the name in the code, then I would look into the pot file, and then into the file that it mentions:

#: ../inkscape.desktop.in.h:1
msgid "Inkscape"
msgstr ""

and change the message there (I didn't test this, might as well be the wrong place, but that's what I would try).

Regards,
Moini
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

~suv
Posts: 2272
Joined: Sun May 10, 2009 2:07 am

Re: translating Inkscape name

Postby ~suv » Tue Oct 27, 2015 11:44 am

The original strings for the Window title are in 'src/widgets/deskopt-widget.cpp'; they are marked as translatable, and therefore also in 'po/inkscape.pot' (and in the *.po files (re-)generated from inkscape.pot).

For your convenience, here are links to the relevant lines in current trunk rev14430: Note that inkscape.pot is a generated file, too (but under version control, mostly as service for translators)


Return to “Programming”