if you begin writing your code and remember there is a language selector and choose for example JS it will not update the text box language until refreshed or cleared and then selected first.
Possible Solution: In the language selection options make it force update the textbox and refresh any current text to adjust to the language