oppia-android icon indicating copy to clipboard operation
oppia-android copied to clipboard

Voiceovers switch from English to Hindi

Open isalooo opened this issue 3 years ago • 8 comments

I am reporting on behalf of a user in Ghana.

When listening to the voiceovers in English, it automatically changes to Hindi.

To Reproduce Steps to reproduce the behavior: In the fractions lesson, when listening to the voiceovers in English it automatically changes at a point to Hindi I guess ( added screenshot named "Stage one " ) at that stage you don't have the options to pick English in the voiceover list when you continue to the next stage you have the option to select English.

Expected behavior Voiceovers should play in English Screenshots stage one (3) stage one B (1)

Device A107FXXS8BUC1 / A107FOJM8BUC1 / A107FXXS8BUC1 (Samsung Galaxy A10s SM-A107F)

Android version 10

isalooo avatar Apr 14 '21 18:04 isalooo

Hi, can I get an update on this?

This is a unique feature that is important for go to market efforts.

Do you have a timeline for when this will be fixed?

Thanks!

isalooo avatar May 04 '21 20:05 isalooo

@rt4914 you were looking into this. Any idea on the difficulty of fixing it? I might dig into it today/tomorrow if possible.

We haven't yet finalized the alpha MR2 branch, so we can probably cherry-pick a fix & repush with fast validation.

BenHenning avatar May 07 '21 00:05 BenHenning

@rt4914 you were looking into this. Any idea on the difficulty of fixing it? I might dig into it today/tomorrow if possible.

We haven't yet finalized the alpha MR2 branch, so we can probably cherry-pick a fix & repush with fast validation.

@BenHenning I have linked the draft PR which works for correctly but there are two optimisation + testing task pending:

  1. We need an OppiaLocale (or something similar which extends Locale) so that using language code we can correctly retrieve the language name. I will need to write test cases for this file too.
  2. I am not sure how to write test cases for the audio player behaviour without changing the existing json files.

rt4914 avatar May 07 '21 19:05 rt4914

Thanks @rt4914! I might take a pass on iterating on your existing solution today based on that info.

BenHenning avatar May 07 '21 19:05 BenHenning

Thanks @rt4914! I might take a pass on iterating on your existing solution today based on that info.

@BenHenning Added 1 test case and added details in the PR description.

rt4914 avatar May 07 '21 21:05 rt4914

Thanks @rt4914. Looking into your PR now.

Note @isalooo that this issue probably won't repro in the same way anymore since the original bug was found with older content, and the new content doesn't seem to have as many gaps. There are likely other consistency issues, though. I'll see if I can build a quick checker to find all of the gaps in the current alpha offering.

BenHenning avatar May 08 '21 15:05 BenHenning

Here are my findings for all states of current alpha lessons that will run into this issue:

Expected exploration 'Breaking down a Number into Place Values' (K645IfRNzpKy) to have codes: [hi, ar, hi-en, en], but some states are missing them:
- State 'Names of places 2' is missing: [hi, ar, hi-en, en]
- State 'Intro to commas' is missing: [hi-en]

Expected exploration 'Introduction to Addition - Part 1' (OKxYhsWONHZV) to have codes: [en, hi-en], but some states are missing them:
- State 'How to Talk About Addition' is missing: [en]
- State 'Question 3 Reading Addition Problems' is missing: [en]
- State 'Question 12' is missing: [en]
- State 'More Pizza to Come' is missing: [en]
- State 'Same Result but Different Numbers' is missing: [en]
- State 'Q6a' is missing: [en]
- State 'Q6b' is missing: [en]
- State 'Question 8 Are They The Same' is missing: [en]
- State 'Not a Good Pizza' is missing: [en]
- State 'Adding More Than 2 Numbers' is missing: [en]
- State 'Question 2' is missing: [en]
- State 'Question 7 Identifying the Equals Sign' is missing: [en]
- State 'Question 1' is missing: [en]
- State 'Congratulations' is missing: [en]
- State 'Identifying the Addition Sign' is missing: [en]
- State 'Trouble With Concatenating Numbers' is missing: [en]
- State 'Question 5 Translating From Words to Symbols' is missing: [en]
- State 'The Equals Sign' is missing: [en]
- State 'Question 10' is missing: [en]
- State 'Question 8 Part 2' is missing: [en]

Expected exploration 'What Multiplication Means' (zIBYaqfDJrJC) to have codes: [hi, ar, en], but some states are missing them:
- State 'TEST 1 Solution' is missing: [en]
- State 'Practice 0 and 1 multiplication' is missing: [hi, ar, en]
- State 'Conclusion' is missing: [en]
- State 'Solving n * 0' is missing: [en]
- State 'Solving multiplication with addition' is missing: [en]
- State 'TEST 2 Solution' is missing: [en]
- State 'Multiplying by 1' is missing: [en]
- State 'TEST 1' is missing: [en]
- State 'TEST 2' is missing: [en]
- State 'TEST 3' is missing: [en]
- State 'Practice 2 Part 2' is missing: [en]
- State 'TEST 4' is missing: [en]
- State 'Practice 3 Part 2' is missing: [en]
- State 'Practice 1' is missing: [en]
- State 'Practice 3' is missing: [en]
- State 'Practice 2' is missing: [en]
- State 'Practice 5' is missing: [en]
- State 'Practice 4' is missing: [en]
- State 'Practice 6' is missing: [en]
- State 'Solving multiplication with addition part 2' is missing: [en]
- State 'Multiplication by 0' is missing: [hi, ar, en]

Expected exploration 'Multi-Digit Multiplication - Part 2' (zTg2hzTz37jP) to have codes: [hi], but some states are missing them:
- State 'Associative property 1.5' is missing: [hi]

Expected exploration 'What Is a Fraction?' (umPkwp0L1M0-) to have codes: [ee, hi, ar, hi-en, en], but some states are missing them:
- State 'Practice 10' is missing: [ee]
- State 'Final Test A second try' is missing: [ee]
- State 'Recap Writing Fractions' is missing: [ee]
- State 'Writing out fractions confirmation' is missing: [ee]
- State 'Writing out fractions intro' is missing: [ee, ar, en]
- State 'Writing out Fractions' is missing: [ee]
- State 'Congratulations' is missing: [ee]
- State 'Final Test A' is missing: [ee]
- State 'Final Test B' is missing: [ee]
- State 'Final Test C' is missing: [ee]
- State 'Practice 3' is missing: [ee]
- State 'Numerator and Denominator Intro' is missing: [ee, ar, hi-en, en]
- State 'Final Test B second try' is missing: [ee]
- State 'Practice 2' is missing: [ee]
- State 'Practice 5' is missing: [ee]
- State 'Practice 4' is missing: [ee]
- State 'Practice 7' is missing: [ee]
- State 'Practice 6' is missing: [ee]
- State 'Practice 9' is missing: [ee]
- State 'Practice 8' is missing: [ee]
- State 'Ending' is missing: [ee]
- State 'Numerator and Denominator' is missing: [ee]

Expected exploration 'The Meaning of "Equal Parts"' (MjZzEVOG47_1) to have codes: [hi, ar, hi-en, en], but some states are missing them:
- State 'Congratulations' is missing: [ar]
- State 'Final Test A second try' is missing: [ar]
- State 'Final Test A' is missing: [ar]
- State 'Final Test B' is missing: [ar]
- State 'Final Test C' is missing: [ar]
- State 'Final Test B second try' is missing: [ar]
- State 'Thinking in fractions Q3' is missing: [ar]
- State 'Happy ending' is missing: [ar]
- State 'Equal parts' is missing: [hi, ar, hi-en, en]
- State 'Thinking in fractions Q4' is missing: [ar]

Expected exploration 'Fractions of a Group' (9trAQhj6uUC2) to have codes: [hi, en, hi-en, ar], but some states are missing them:
- State 'Computing numbers -- Question 1' is missing: [ar]
- State 'Computing numbers -- Question 3' is missing: [ar]
- State 'Computing numbers -- Question 2' is missing: [ar]
- State 'Happy ending' is missing: [ar]
- State 'Final Test A' is missing: [ar]
- State 'Final Test B' is missing: [ar]
- State 'Final Test C' is missing: [ar]
- State 'Final A Check' is missing: [ar]
- State 'Congratulations' is missing: [ar]
- State 'Final B Check' is missing: [ar]

Expected exploration 'Recognizing Fractions (Recap)' (rfX8jNkPnA-1) to have codes: [hi, ar, hi-en, es], but some states are missing them:
- State 'Q7' is missing: [es]
- State 'Q6' is missing: [es]
- State 'Q8' is missing: [es]
- State 'Congratulations' is missing: [es]
- State 'Q 9' is missing: [es]
- State 'Q10' is missing: [es]

Expected exploration 'Equivalent Fractions' (0FBWxCE5egOw) to have codes: [en, ar, hi-en, hi], but some states are missing them:
- State 'Final Test A second try' is missing: [hi]
- State 'Introduction' is missing: [hi]
- State 'New method Q1' is missing: [hi]
- State 'New method Q3' is missing: [hi]
- State 'New method Q2' is missing: [hi]
- State 'Equivalent fractions recap' is missing: [hi]
- State 'Matthew is cheated' is missing: [hi]
- State 'Two fractions can represent the same amount' is missing: [hi]
- State 'Question 4' is missing: [hi]
- State 'Question 5' is missing: [hi]
- State 'Question 3' is missing: [hi]
- State 'Question 1' is missing: [hi]
- State 'Congratulations' is missing: [hi]
- State 'Final Test A' is missing: [hi]
- State 'Final Test B' is missing: [hi]
- State 'Final Test C' is missing: [hi]
- State 'Question 5 Part 3' is missing: [hi]
- State 'Equivalent areas -- Question 2' is missing: [hi]
- State 'Equivalent areas -- Question 1' is missing: [hi]
- State 'Final Test B second try' is missing: [hi]
- State 'Question 5 Part 2' is missing: [hi]
- State 'Ending' is missing: [hi]
- State 'Recap 2' is missing: [hi]
- State 'Recap 3' is missing: [hi]
- State 'Recap 1' is missing: [hi]
- State 'Question 5 reflection' is missing: [hi]
- State 'Crumb tries to cheat Matthew' is missing: [hi]
- State 'Mr. Baker rescues Matthew' is missing: [hi]

Expected exploration 'Mixed Numbers and the Number Line Part 1' (670bU6d9JGBh) to have codes: [en, hi-en, ar, hi], but some states are missing them:
- State 'Number line intro pt 2' is missing: [en, hi-en, ar, hi]
- State 'Introduction' is missing: [hi]
- State 'Final A Check' is missing: [hi]
- State 'Congratulations' is missing: [ar, hi]
- State 'Number line Q3' is missing: [ar, hi]
- State 'Number line interlude' is missing: [ar, hi]
- State 'Counting Cake Pieces 0' is missing: [en, hi-en, ar, hi]
- State 'Counting cake pieces 1' is missing: [ar, hi]
- State 'Counting cake pieces 2' is missing: [ar, hi]
- State 'Mixed numbers Q2b' is missing: [ar, hi]
- State 'Number line Q1' is missing: [ar, hi]
- State 'Number line Q2' is missing: [ar, hi]
- State 'Final B Check' is missing: [ar, hi]
- State 'Number line Q4' is missing: [ar, hi]
- State 'Number line Q6' is missing: [ar, hi]
- State 'Number line Q7' is missing: [ar, hi]
- State 'Number line Q8' is missing: [ar, hi]
- State 'Number line Q9' is missing: [hi]
- State 'Final Test B' is missing: [ar, hi]
- State 'Mixed numbers intro' is missing: [ar, hi]
- State 'Mixed Numbers Q3a' is missing: [en, hi-en, ar, hi]
- State 'Happy ending' is missing: [ar, hi]
- State 'Mixed numbers Q2' is missing: [ar, hi]
- State 'Number line intro' is missing: [ar, hi]
- State 'Recap 2' is missing: [ar, hi]
- State 'Recap 3' is missing: [ar, hi]
- State 'Final Test A' is missing: [hi]
- State 'Recap 1' is missing: [ar, hi]
- State 'Mixed numbers Q4' is missing: [ar]
- State 'Mixed numbers Q5' is missing: [ar, hi]
- State 'Final C' is missing: [ar, hi]
- State 'Mixed numbers Q3' is missing: [ar, hi]

Expected exploration 'Mixed Numbers and the Number Line Part 2' (aHikhPlxYgOH) to have codes: [en, ar, hi-en, hi], but some states are missing them:
- State 'Final Test A second try' is missing: [hi]
- State 'Interlude' is missing: [hi]
- State 'Fractions to mixed numbers Q3' is missing: [hi]
- State 'Fractions to mixed numbers Q2' is missing: [hi]
- State 'Fractions to mixed numbers Q1' is missing: [hi]
- State 'Fractions to mixed numbers Q7' is missing: [hi]
- State 'Fractions to mixed numbers Q6' is missing: [hi]
- State 'Fractions to mixed numbers Q5' is missing: [hi]
- State 'Fractions to mixed numbers Q4' is missing: [hi]
- State 'Improper fractions 0' is missing: [en, ar, hi-en, hi]
- State 'Congratulations' is missing: [hi]
- State 'Happy Ending' is missing: [hi]
- State 'Final Test A' is missing: [hi]
- State 'Final Test B' is missing: [hi]
- State 'Final Test C' is missing: [hi]
- State 'Final Test B second try' is missing: [hi]
- State 'Mixed numbers to fractions Q3' is missing: [hi]
- State 'Mixed numbers to fractions Q2' is missing: [hi]
- State 'Mixed numbers to fractions Q1' is missing: [hi]
- State 'Improper fractions Q8' is missing: [hi]

Expected exploration 'Equality of Fractions (Recap)' (-tMgcP1i_4au) to have codes: [ar, en, hi-en], but some states are missing them:
- State 'Q3' is missing: [en]
- State 'Q2' is missing: [en]
- State 'Q5' is missing: [en]
- State 'Q4' is missing: [en]
- State 'Q7' is missing: [en]
- State 'Q6' is missing: [en]
- State 'Q8' is missing: [en]
- State 'Congratulations' is missing: [en]
- State 'Q9' is missing: [en]
- State 'Q10' is missing: [en]

Expected exploration 'Comparing Fractions' (zW39GLG_BdN2) to have codes: [en, hi-en, ar], but some states are missing them:
- State 'LCD Comparison Q1' is missing: [ar]
- State 'Congratulations' is missing: [ar]
- State 'LCD Comparison Intro 2' is missing: [en, hi-en, ar]
- State 'More than two comparison - Storeroom' is missing: [ar]
- State 'More than two Comparison Q3' is missing: [ar]
- State 'More than two Comparison Q2' is missing: [ar]
- State 'More than two Comparison Q1' is missing: [ar]
- State 'More than two Comparison Q4' is missing: [ar]
- State 'Final Test B' is missing: [ar]
- State 'Final Test C' is missing: [ar]
- State 'Final Test B second try' is missing: [ar]
- State 'Happy ending' is missing: [ar]
- State 'LCD Comparison Q2' is missing: [ar]
- State 'LCD Comparison Q3' is missing: [ar]
- State 'Shared denominator 0' is missing: [en, hi-en, ar]
- State 'LCD Comparison Q6' is missing: [ar]
- State 'LCD Comparison Q7' is missing: [ar]
- State 'LCD Comparison Q4' is missing: [ar]
- State 'LCD Comparison Q5' is missing: [ar]

Expected exploration 'Subtracting Fractions' (6Q6IyIDkjpYC) to have codes: [en, ar], but some states are missing them:
- State 'Second try' is missing: [en]
- State 'Equivalent Fractions and Mixed numbers Q4.5' is missing: [en]

Expected exploration 'What Is a Ratio?' (2mzzFVDLuAj8) to have codes: [hi, ar, en, es], but some states are missing them:
- State 'Practice 10' is missing: [es]
- State 'Final Test' is missing: [es]
- State 'Writing ratio with 3 quantities' is missing: [es]
- State 'Definition of ratio' is missing: [ar, es]
- State 'Writing ratios of 2 quantities' is missing: [es]
- State 'Writing ratio in colon notation' is missing: [es]
- State 'Congratulations' is missing: [es]
- State 'Ratio shows relative relationship 2' is missing: [es]
- State 'Ratio shows relative relationship 1' is missing: [es]
- State 'Solution' is missing: [es]
- State 'Fruit purees' is missing: [es]
- State 'Uncle Berry' is missing: [es]
- State 'Practice 1' is missing: [es]
- State 'A problem' is missing: [es]
- State 'Practice 3' is missing: [es]
- State 'Practice 2' is missing: [es]
- State 'Practice 5' is missing: [es]
- State 'Practice 4' is missing: [es]
- State 'Practice 7' is missing: [es]
- State 'Practice 6' is missing: [es]
- State 'Practice 9' is missing: [es]
- State 'Practice 8' is missing: [es]
- State 'Happy ending' is missing: [es]
- State 'Tool for describing quantities' is missing: [es]
- State 'Practice 3.5' is missing: [es]

Expected exploration 'Writing Ratios in Their Simplest Form' (tIoSb3HZFN6e) to have codes: [en, ar, hi-en], but some states are missing them:
- State 'Checking all options' is missing: [en, ar]
- State 'Practice 4.5' is missing: [en, ar]
- State 'Finding highest common factor' is missing: [en, ar]
- State 'Review 4' is missing: [en, ar]
- State 'The simplest form p1' is missing: [en, ar]
- State 'Simplest form of ratio with three numbers' is missing: [en, ar]

Expected exploration 'Comparing Ratios' (nLmUS6lbmvnl) to have codes: [ar, en, hi-en], but some states are missing them:
- State 'Practice 4.5' is missing: [ar, en]
- State 'Final Challenge B' is missing: [hi-en]
- State 'Congratulations' is missing: [hi-en]
- State 'Final Challenge A' is missing: [hi-en]
- State 'Happy Ending' is missing: [hi-en]
- State 'Ratio of a part to the whole intro' is missing: [ar, en, hi-en]
- State 'Ratio of a part to a whole' is missing: [hi-en]
- State 'Summary' is missing: [ar, en, hi-en]
- State 'How to compare ratios' is missing: [hi-en]
- State 'Practice 5' is missing: [hi-en]
- State 'Practice 7' is missing: [hi-en]
- State 'Practice 6' is missing: [hi-en]
- State 'Practice 9' is missing: [hi-en]
- State 'Practice 8' is missing: [hi-en]
- State 'Explanation for P4' is missing: [ar, en]
- State 'Practice 6 intro' is missing: [ar, en, hi-en]

Expected exploration 'Combining Ratios' (Vgde5_ZVqrq5) to have codes: [en, ar, hi-en], but some states are missing them:
- State 'Intro to Practice 10' is missing: [en]
- State 'Intro to practice 10 part 2' is missing: [en]

Expected exploration 'Proportional Relationships' (zVbqxwck0KaC) to have codes: [en, ar], but some states are missing them:
- State 'Doing step 1 and 2 together part 1' is missing: [en]

Edit: these are an analysis of all potential alpha explorations (only some are included in the actual alpha due to interaction compatibility).

Edit 2: I made a mistake in the logic which resulted in wrong results. Updated the list above.

BenHenning avatar May 08 '21 15:05 BenHenning

For searching context, this issue was found in 0.5-alpha (MR2).

BenHenning avatar Jun 10 '22 01:06 BenHenning

This should no longer be an issue. The app now presents a warning rather than trying to play a different language during auto-play (and pauses audio).

BenHenning avatar Jun 06 '23 12:06 BenHenning

English audio is unavailable message is seen for this page subject (10)

KolliAnitha avatar Jun 12 '23 10:06 KolliAnitha