Opened 3 years ago

Closed 6 months ago

#65196 closed defect (fixed)

audacity @3.0.2.129: file dialogs are displayed in Japanese in every locale

Reported by: aeiouaeiouaeiouaeiouaeiouaeiou Owned by: mohd-akram (Mohamed Akram)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: audacity

Description


Attachments (2)

2022-05-19_00-49-17.png (122.1 KB) - added by aeiouaeiouaeiouaeiouaeiouaeiou 3 years ago.
zsh-output.txt (11.9 KB) - added by aeiouaeiouaeiouaeiouaeiouaeiou 2 years ago.

Download all attachments as: .zip

Change History (12)

Changed 3 years ago by aeiouaeiouaeiouaeiouaeiouaeiou

Attachment: 2022-05-19_00-49-17.png added

comment:1 Changed 3 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: set to RJVB
Status: newassigned

I don't see this problem on my system. (macOS 10.15.7, app launched by double-clicking the app icon in the Finder, Language & Region system preferences set for U.S. English first).

comment:2 Changed 2 years ago by RJVB (René Bertin)

Cannot reproduce it either. I'm a bit surprised the OP has to select the ffmpeg libraries location too, I think that shouldn't be necessary if their location didn't change w.r.t. during the build.

@aeiouaeiouaeiouaeiouaeiouaeiou: can you please launch Audacity from a terminal ( /Applications/MacPorts/Audacity.app/Contents/MacOS/Wrapper) and report if you see any relevant error or warning message?

comment:3 in reply to:  2 Changed 2 years ago by aeiouaeiouaeiouaeiouaeiouaeiou

Replying to RJVB:

I'm a bit surprised the OP has to select the ffmpeg libraries location too, I think that shouldn't be necessary if their location didn't change w.r.t. during the build.

I just opened the window for a screenshot, the libraries are detected normally.

Replying to RJVB:

@aeiouaeiouaeiouaeiouaeiouaeiou: can you please launch Audacity from a terminal ( /Applications/MacPorts/Audacity.app/Contents/MacOS/Wrapper) and report if you see any relevant error or warning message?

There are no errors. However, after running sudo port -v upgrade outdated I found something interesting:

Nothing to upgrade.
--->  Scanning binaries for linking errors
Could not open /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_audacity/audacity/work/build/lib/libwx_baseu-3.1.dylib: Error opening or reading file (referenced from /Applications/MacPorts/Audacity.app/Contents/modules/mod-script-pipe.so)
Could not open /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_audacity/audacity/work/build/lib/libwx_baseu_xml-3.1.dylib: Error opening or reading file (referenced from /Applications/MacPorts/Audacity.app/Contents/modules/mod-script-pipe.so)
Could not open /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_audacity/audacity/work/build/lib/libwx_osx_cocoau_core-3.1.dylib: Error opening or reading file (referenced from /Applications/MacPorts/Audacity.app/Contents/modules/mod-script-pipe.so)
Could not open /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_audacity/audacity/work/build/lib/libwx_osx_cocoau_qa-3.1.dylib: Error opening or reading file (referenced from /Applications/MacPorts/Audacity.app/Contents/modules/mod-script-pipe.so)
Could not open /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_audacity/audacity/work/build/lib/libwx_baseu_net-3.1.dylib: Error opening or reading file (referenced from /Applications/MacPorts/Audacity.app/Contents/modules/mod-script-pipe.so)
Could not open /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_audacity/audacity/work/build/lib/libwx_osx_cocoau_html-3.1.dylib: Error opening or reading file (referenced from /Applications/MacPorts/Audacity.app/Contents/modules/mod-script-pipe.so)
Could not open /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_audio_audacity/audacity/work/build/lib/libwx_osx_cocoau_adv-3.1.dylib: Error opening or reading file (referenced from /Applications/MacPorts/Audacity.app/Contents/modules/mod-script-pipe.so)
--->  Found 7 broken files, matching files to ports
--->  Found 1 broken port, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt: audacity @3.0.2.129
Continue? [Y/n]: n

Reinstalling has the same result.

comment:4 Changed 2 years ago by RJVB (René Bertin)

That's issue #63741, for which I should have a workaround (untested because I cannot reproduce the issue on my end) and for which I'll have to jump through the pull-request hoops...

However, I don't see how this can affect the GUI language ...

Do you see the language files in the output of port contents audacity? I'm not at my Mac ATM so I can't be certain where they're installed exactly but there should be a file or directory with en_GB in the name (the UK english translation I've added myself).

Changed 2 years ago by aeiouaeiouaeiouaeiouaeiouaeiou

Attachment: zsh-output.txt added

comment:5 Changed 2 years ago by kencu (Ken)

If it’s only Audacity in Japanese, you could try resetting the prefs to the defaults

https://tech25s.com/how-to-reset-audacity-settings-to-default/

comment:6 Changed 2 years ago by RJVB (René Bertin)

You definitely have all the language files installed.

You could follow Ken's suggestion, or simply pick a new language through the preferences dialog. On Mac you can bring that up with Command-Comma, after which you'll go to the "Interface" section (6th item from the top in the prefs sidebar); the language selector is the topmost drop-down menu/chooser in the panel.

It should be possible too to change this directly in the preferences file (Audacity not running): the file to modify is ~/Library/Application Support/audacity/audacity.cfg, in which I have

[Locale]
Language=en_GB

I do hope yours does NOT have a selection that's clearly not Japanese (or whatever that language you get truly is).

Last edited 2 years ago by RJVB (René Bertin) (previous) (diff)

comment:7 Changed 2 years ago by aeiouaeiouaeiouaeiouaeiouaeiou

I have never used Japanese in my system and none of the suggested options helped me. Pretty mystical bug.

comment:8 Changed 6 months ago by mohd-akram (Mohamed Akram)

Owner: changed from RJVB to mohd-akram
Status: assignedaccepted

Is this still an issue?

comment:9 in reply to:  8 Changed 6 months ago by aeiouaeiouaeiouaeiouaeiouaeiou

Replying to mohd-akram:

Is this still an issue?

I used Mountain Lion and Mavericks when and this bug was definitely on those systems, unfortunately now I can't check.

comment:10 Changed 6 months ago by mohd-akram (Mohamed Akram)

Resolution: fixed
Status: acceptedclosed
Version: 2.7.99

I'll close this for now. I just pushed a fix for an issue where it happened in some menu items, so hopefully it doesn't happen anymore.

Note: See TracTickets for help on using tickets.