...
When selecting this option an input appears where the parameter that holds the language value can be entered.
...
You can also use the JS variable to access the localStorage and sessionStorage. Use
localStorage.{{variable_for_which_you_want_the_value_to_be_checked}}
and
sessionStorage.{{variable_for_which_you_want_the_value_to_be_checked}}
respectively.
When you then press the ADD LANGUAGE button it will ask for the parameter value that should be matched.
...