Audacity Bug Summary
••• Introduction •••
••• Keywords •••
    Audacity 3.0.3 development began 19th April 2021

Audacity Bugzilla



Bug 1288 - ENH: "Simplified" language not currently supported
ENH: "Simplified" language not currently supported
Status: REOPENED
Product: Audacity
Classification: Unclassified
Component: User Interface
2.1.2
Per OS All
: P4 Enhancement
Assigned To: Default Assignee for New Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-01-01 09:54 UTC by Gale Andrews
Modified: 2021-09-24 14:10 UTC (History)
6 users (show)

See Also:
Steps To Reproduce:
1 On Windows, extract the attached "en-simple_no_updates_menu_item.zip" to the Languages folder and restart Audacity. 2 Select "Simplified" language in Interface Preferences. Crash. 3 On any platform, extract the attached "en-simple_no_updates_menu_item.zip" to the appropriate Languages folder in 2.1.1. 4 Launch 2.1.1, select "Simplified" language in Interface Preferences, OK. Notice that the Help > Check for Updates menu item is correctly hidden. Quit. 5 Launch 2.1.3-alpha. A message says that the language "en-simple" is unknown. Help > Check for Updates menu item is available as if Simplified is disabled, but opening Preferences shows Simplified language selected. OK on Preferences without changing language from Simplified shows the same "unknown" message and changes language to English without saying it will do that. 6 Prepare a simplified .mo file in a non-English language ( http://manual.audacityteam.org/o/man/simplifying_audacity.html ), launch 2.1.3-alpha and change Preferences to that language. There is no "unknown" warning, no crash, and the language choice is retained. Items that should be hidden show in the menus as "!" with text following, exactly as shown in the .po file.
Release Note:
GROUP: Application Launch * '''If Audacity 2.1.1 or earlier had the interface language set to "Simplified" (an optional English language that can remove menu items) then current Audacity will show an error on each launch''' "Language "en-simple" is unknown". No menu items will be hidden. '''Workaround:''' To prevent the error occurring at each launch, open Preferences then OK which changes the language to English. ** Simplified menus are also not currently supported in any other languages, but no errors are shown. Menu items that should be hidden will be shown starting with an "!" exclamation mark.
First Git SHA:
Group: Locale
Workaround:
Closed:
gale: Regression+
petersampsonaudacity: Test‑OK‑Win-


Attachments
"en-simple" folder for steps to reproduce (651 bytes, application/zip)
2016-01-01 09:54 UTC, Gale Andrews
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gale Andrews 2016-01-01 09:54:31 UTC
Created attachment 659 [details]
"en-simple" folder for steps to reproduce

Notice also that audacity.pot and the .po files no longer have a "!Simplified View" item to be translated.
Comment 1 Paul L 2016-01-26 20:12:34 UTC
Fixed here: https://github.com/audacity/audacity/commit/907c950a0e20a59843f10615291cebb012d7007d

Now there will be a warning message about the unknown language.
Comment 2 Peter Sampson 2016-01-28 08:40:16 UTC
Tested on W10 on audacity-win-r12a2d06-2.1.3-alpha-28-jan-16

Following Gale's steps to reproduce I get the new error message and no crash.

Looks fixed to me
Comment 3 Peter Sampson 2016-02-16 05:54:04 UTC
I can't test this on Mac El Capitan - as there doen't appear to be a Languages folder.

And of course there is no "Simplified" option in the Interface Preferences
Comment 4 Gale Andrews 2016-02-16 13:15:16 UTC
(In reply to Peter Sampson from comment #3)
> I can't test this on Mac El Capitan - as there doen't appear to be a Languages folder.
Thanks for all the testing. On Mac,  right-click or control-click over Audacity.app > Show
Package Contents then open the “Resources” directory. Each locale has an LPROJ folder
inside there.
Comment 5 Gale Andrews 2016-02-23 22:57:59 UTC
I confirmed there are no crashes on El Capitan or Ubuntu. Thanks, Paul.

I demoted to P3 and REOPENED for the second unfixed part of the bug that Simplified language is not currently supported. Updated Steps to Reproduce and Release Note. 

Until this is fixed, an enhancement that would help would be for launch with locale set to en-simple to switch the language to English just as opening and closing Preferences does. This saves getting the error message every launch until you do open Preferences.
Comment 6 James Crook 2017-06-04 16:24:32 UTC
*** STEPS UPDATED ***
Comment 7 Peter Sampson 2019-05-10 12:09:44 UTC
Testing on W10 with 2.3.2 RC001

1) I confirm that there is still no crash at Step 2 and I get the error appropriate message

2) I also find that on closing and restarting 2.3.2 RC001 after step 2 - I do not get any further error messages.  

3) But I also note that the language has been switched to "English" (as per Gale's suggestion in Comment #5).
I do not regard this workaround as correct behavior as I started out before this test with my language set as "System" - and I believe that it should remain that way.