> On Aug 28, 2021, at 4:38, Carl Hoefs <newsli...@autonomy.caltech.edu> wrote: > > I didn't know you could use 'open' in that way, but it looks like it should > work.
It doesn't here :-) > On the other hand, have you tried using -AppleLanguages? I did not know about this trick. > This works for me (on Big Sur): > > /System/Applications/TextEdit.app/Contents/MacOS/TextEdit -AppleLanguages > '(fr)' & > > Just make sure that TextEdit.app isn't open yet. But it also allows for multiple instances. What I was trying to do was change the locale "locally" to launch a Java app in a different language. So that -AppleLanguages option is not going to work... JC > -Carl > > >> On Aug 26, 2021, at 5:13 PM, Jean-Christophe Helary >> <jean.christophe.hel...@traduction-libre.org> wrote: >> >> man open gives the following example: >> >> open --env MallocStackLogging=YES -b com.apple.TextEdit >> >> I tried with LANG or LC_MESSAGES and that did not seem to make any >> difference: >> >> open --env LC_MESSAGES="fr_FR.UTF-8" -b com.apple.TextEdit >> >> So I was wondering if I was missing something obvious or if that were even >> possible. >> >> -- >> Jean-Christophe Helary @brandelune >> https://mac4translators.blogspot.com >> https://sr.ht/~brandelune/omegat-as-a-book/ >> >> _______________________________________________ >> MacOSX-talk mailing list >> MacOSX-talk@omnigroup.com >> https://www.omnigroup.com/mailman/listinfo/macosx-talk > -- Jean-Christophe Helary @brandelune https://mac4translators.blogspot.com https://sr.ht/~brandelune/omegat-as-a-book/
_______________________________________________ MacOSX-talk mailing list MacOSX-talk@omnigroup.com https://www.omnigroup.com/mailman/listinfo/macosx-talk