Language choice sometimes pops up during Recovery

Sometimes, during Recovery, when choosing "Options"

I'm presented with the Language chooser

before going into the Recovery options.

Other times the process moves directly into Recovery options, without any language choice.

I'm running in recovery mode, after completing a fresh installation of macOS (including setting a language) and fully shutting down the OS via the menu.

This happens seemingly randomly, which affects the ability to automate the process.

So far I've only seen it on macOS 15.

Is there some logic to why this language chooser pops up, and any way I can make it consistent (in either direction)?

Answered by torarnv in 826757022

I've now learned that this happens because the prev-lang:kbd NVRAM value is somehow not persisted during the initial language choice/installation. This is tracked by FB16623415

As a workaround, to get consistent behavior for automated recovery operations, doing an explicit sudo nvram prev-lang:kbd=en:-8569 before booting into recovery seems to do the trick.

These are the Developer Forums, where developers of apps for Apple's platforms ask each other for hints and tips on coding.

Your question is more of a product support one, so I'd suggest you ask it over at the Apple Support Forums. Thanks.

(Also, you randomly picked some tags to add, which should've been a red flag to you that you were in the wrong place, and now people searching for those tags will have your entirely unrelated post come up.)

@darkpaw I am a developer, and I'm using developer tools and technologies, specifically Virtualization.framework, to run macOS VMs, automating the OS installation for testing the software I develop.

(You are assuming I added tags randomly, which I did not. Thanks).

Accepted Answer

I've now learned that this happens because the prev-lang:kbd NVRAM value is somehow not persisted during the initial language choice/installation. This is tracked by FB16623415

As a workaround, to get consistent behavior for automated recovery operations, doing an explicit sudo nvram prev-lang:kbd=en:-8569 before booting into recovery seems to do the trick.

Language choice sometimes pops up during Recovery
 
 
Q