[BUG]: Preferred Audio Language option is not updated when the audio language is changed by audio control
Describe the bug
The preferred audio language retain in English when the Learner is playing a lesson and changes the audio to any laguange by audio control.
Steps To Reproduce
- Go to Place Values
- Go to What are the Place Values?
- Play the audio in English (default)
- Change the audio to Arabic by audio control
- Play the audio to check, should be in Arabic
- Click on Options menu
- See the preferred audio language in English
Expected Behavior
It is expected to see the preferred audio language updated to Arabic language.
Screenshots/Videos
https://github.com/user-attachments/assets/87daef38-e897-4c74-8d64-34c69f9c77a0
What device/emulator are you using?
OPPO A79 5G
Which Android version is your device/emulator running?
Android 14
Which version of the Oppia Android app are you using?
0.15-beta-9404ea41d9
Additional Context
No response
This is definitely working as intended--the preferred audio language is a setting separately from changing the language within a play session. The latter is expected to be temporary, whereas the former is meant to change the setting across multiple explorations.
@cam-pinheiro did you find this confusing or perhaps unintuitive? There may well be a need here to improve the user experience.
@BenHenning Oh ok, I see it. It makes sense. In the first moment it was a litlle confusing because I though if I changed in a play session the preferred should be change. But it is true, it is temporary. If I select portuguese audio and close the chapter, when I open again the audio return to default language (English).
@BenHenning assign me this task
@BenHenning, Based on @cam-pinheiro's comment, do you think we should change the behaviour(since it is not really documented anywhere). @itsadityaaaaa is interested in making this change, and it seems reasonable(#5833).
@seanlip, PTAL for product.
I thought about this, and I think there are arguments for both sides:
- If this control changes the default language then that might be surprising to someone who changes it by accident, or just for a one-off case
- If this control doesn't change the default language, then a user might need to change it every time and that could be annoying
I actually think the best solution here is to not have this control affect the default language, but if we notice that a learner keeps changing to a particular language, then we offer them the option (in a popup) to update their default audio language. But this will need a bit more design/requirements, so I would say it's not ready to be implemented yet.
Thoughts?
@seanlip, I think learners might easily mistake this as a quick way to change the audio language, rather than using the options menu. This could lead to frustration when the change doesn’t persist. The new onboarding flow, where learners choose an audio language during setup, will help reduce this confusion somewhat, though it won’t fully prevent it if the learner accepts the default selections.
I would suggest not changing the current behavior, and instead filing a new, more explicit issue describing the changes we want, IF we choose to change the existing behaviour.