From where gets Inkscape the value for the attribute systemLanguage

Asked by Rb-henschel

In the switch
        <switch>
            <text systemLanguage="fr" x="10" y="40">Französisch</text>
            <text systemLanguage="de" x="10" y="90">Deutsch</text>
            <text systemlanguage="en" x="10" y="140">Englisch</text>
        </switch>
I get the text 'Englisch' although I have a German Windows7 and a German Inkscape.
I have tried it with Inkscape 0.48+devel r12742 and with a normal Inkscape 0.48.

From where does Inkscape take the value for 'systemLanguage'?

Question information

Language:
English Edit question
Status:
Answered
For:
Inkscape Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
su_v (suv-lp) said :
#1

Doesn't seem to be fully supported yet (at least in some platforms), see e.g. just recently filed (not yet triaged) report:
- Bug #1249423 “Properly support the <switch> element and the "systemLanguage" attribute”
  <https://bugs.launchpad.net/inkscape/+bug/1249423>

Based on quick tests on OS X 10.7.5 with the file attached in that bug report:

$ LANG=de_DE.UTF-8 inkscape testcase.svg

I can tell that Inkscape 0.48.4 does render switch based on 'systemLanguage' correctly (or 'as expected'), however current Inkscape trunk (r12786) - while picking up the language set via locale in the shell correctly - also renders the element 'other' on top of 'de' (which AFAIU is not correct).

Possibly with the Windows packages of Inkscape, the language needs to be set via Inkscape Preferences > Interface, not the system settings, but I cannot test this myself.

Can you help with this problem?

Provide an answer of your own, or ask Rb-henschel for more information if necessary.

To post a message you must log in.