MyPad crashes if a language other than en or fr is selected
The reason for this is to be found in api.js around line 120 in api.l10n where only en and fr are defined as valid languages. If you choose e.g. german in the admin screen (default language) it cannot be found in the array and thus raises an exception.
A possible solution would be to return a hard coded default language (e.g. en) in this case instead of breaking.