
On 2/20/07, Ted Gould <ted@...11...> wrote:
On Tue, 2007-02-20 at 16:45 +0100, Romain Thouvenin wrote:
Do you have an idea to work around my problem ? Maybe using a parameter proposing the different languages to the user ?
Can extensions get the LANG environment variable? Would that work for determining the language? I believe they should have the same environment as the one Inkscape was called in.
--Ted
Yes they can. But according to the FAQ, the way Inkscape determines the language is sytem-dependent : LANGUAGE variable on Linux, LANG on Windows (which has a different meaning on Linux, but still can be use for that purpose, and some lproj files for Mac (I don't know anything about Mac). So, even if it seems feasible (at least for linux and windows), isn't that a pity that extensions do this independently ?
But I don't know how hard it would be to change .inx DTD, Ted's solution may well be the best for now.
Romain