Added setLanguageAlwaysTranslateState to LanguageHelper

This CL adds a function to the translate prefs:
"setLanguageAlwaysTranslateState" and bridges it to the frontend via
the LanguageHelper. This will serve as the frontend's way to add and
remove languages from the always translate list, rather than using
addLanguagePairToAlwaysTranslateList and

See the android implementation here:

This method will be used in future CLs as part of the Language Settings
Redesign for Desktop.

Bug: 1159480
Change-Id: I04c0fe0062045d94670ab33e621f144919cdf1f0
Commit-Queue: Joshua Santana <>
Reviewed-by: Devlin <>
Reviewed-by: dpapad <>
Reviewed-by: Caitlin Fischer <>
Reviewed-by: Trevor  Perrier <>
Cr-Commit-Position: refs/heads/master@{#863508}
GitOrigin-RevId: 906ab0b3b9f6764d9c13160e0d0cd12c1d8277cf
1 file changed