<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
On 02/25/2012 11:59 AM, András Murányi wrote:
<blockquote
cite="mid:CAJtGUK4t3Xzt3uvRqw51yfHoxnowikkEnFJCXnbXMJ-Uzms-9w@mail.gmail.com"
type="cite"><br>
<br>
<div class="gmail_quote">On Fri, Feb 24, 2012 at 22:56,
Hans-Christoph Steiner <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:hans@at.or.at">hans@at.or.at</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
I was updating pd-extended.git, so I threw in the new Japanese<br>
translation :-). I'll be sure to update it one last time
before the<br>
final release, so you can test it in a real build.<br>
<br>
I'm all for choice with the language of the app, but it seems
to me that<br>
is something that the OS should handle. So anyone who set
their system<br>
language to English will get Pd-extended in English. For
those who want<br>
some mix of languages, then there is no standard technique
that I know<br>
of, and how you do it varies on each OS. If someone wants to
code this<br>
for Pd-extended, patches are welcome.<br>
<br clear="all">
</blockquote>
</div>
<br>
If you want the *whole* app to change language, I'm pretty sure it
will need to be restarted. Then I guess an equivalent of "export
LANG" can be issued from tcl (and/or C?) at startup. (Could
someone with the knowledge confirm/correct this plz?)<br>
If it's enough to change the translatable strings' language, we
already have the "_" function in tcl. I have no idea how it goes
on the C side. Then I guess instead of restarting, it's possible
to redraw the GUI (?).<br>
I'd be happy to code into this when I know more.<br>
<br>
András<br>
</blockquote>
<br>
<br>
What I meant by a mix of languages is a mix of apps on a given
system running in different languages, i.e. Thunderbird in Japanese,
Pd in English. Perhaps this could be handled by a plugin? I don't
know all the possible ways of getting Tcl to change the language,
but I do know that 'export LANG=ja' works.<br>
<br>
.hc<br>
<br>
</body>
</html>