Since Tcl handles all of the changing of English strings to the chosen language, it is theoritically possible to do in a plugin. The key problem is that the translations are loaded (load_locale in pd-gui.tcl) before the plugins and Tcl's msgcat, the library for the translations, provides mcload, but no mkunload.
.hc
On 01/09/2013 10:35 AM, András Murányi wrote:
I have visited this problem some time ago, and these were my (more or less accurate) findings:
- There are language strings in the C code as well as in Tcl
- In Tcl there is a straightforward way to redefine the language, but I
haven't found a way to change the actual strings on the display without having to restart Pd
- I have no idea how it goes on the C side :)
- My impression is that this may go beyond the scope of a plugin
András
On Wed, Jan 9, 2013 at 2:50 PM, batinste dwanafite@yahoo.fr wrote:
language-plugin, anyone ? :)
On 09/01/2013 14:23, Hans-Christoph Steiner wrote:
The easiest way is to start it in the Terminal like this:
GNU/Linux: LANG=en pd-extended Mac OS X: LANG=en /Applications/Pd-extended.app/** Contents/Resources/bin/pd Windows (in cmd.exe): set LANG=en "%ProgramFiles%\pd\bin\pd"
If you want to force English, you can also delete the .msg files in the pd/po folder.
.hc
On 01/09/2013 07:05 AM, João Pais wrote:
Hi,
with the latest Pd version, Pd uses the system language as standard. The thing is, I want to keep my Pd in english. How is it possible to set the language when starting Pd?
Where can suggestions to the language be sent?
Best,
João
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list