Feb 14, 2005, 7:31 AM
Post #1 of 1
The content of the language file are essential for the correct working of HTMLArea, as it sets up I18N. However, the loading mechanism does not check at all that a language has been actually loaded, resulting in missing initialisation of I18N.
HTMLArea should check for successful loading of a lang file
This may happen very easily if, for instance, the HTMLArea user sniffs the client language and tries to pass it to HTMLArea, hoping that it's supported. If this is not the case, essential parts will be missing.
I suggest that the actual loading of a lang file should be checked (e.g., by checking I18N) and then in case something went wrong lang/en.js is loaded.