Clean-up
Removed debug print
Call the new split language code functions.
Split the get_language_code function.
The code to get the right language in the editor is not yet written.
Get a more useful language code through the parent of the note editor.