Bug #5329 - modifying WYSIWYG controller to register the right file name according to the language content.

Please don't forget to check the PR .