<br><br><div class="gmail_quote">On Sun, Feb 26, 2012 at 05:57, Hans-Christoph Steiner <span dir="ltr"><<a 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">
<div bgcolor="#FFFFFF" text="#000000"><div><div class="h5">
On 02/25/2012 11:59 AM, András Murányi wrote:
<blockquote type="cite"><br>
<br>
<div class="gmail_quote">On Fri, Feb 24, 2012 at 22:56,
Hans-Christoph Steiner <span dir="ltr"><<a href="mailto:hans@at.or.at" target="_blank">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></div></div>
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.<span class="HOEnZb"><font color="#888888"><br>
<br>
.hc<br>
<br>
</font></span></div></blockquote><div> <br>...what I understood was a way to change the UI language from within pd, like a dropdown menu in preferences. Is that what you meant?<br><br>András<br>
</div></div>