Both errors I’m getting when trying to translate with Codestyling Localization plugin. Even when I deactivated all other plugins.
Yesterday I downloaded the latest files on your site again and tried to translate the .pot-file with Poedit. Getting errors there still, so this is totally apart from WordPress.
I did get a file out though (both a .mo and .po) which seemed to be totally ignored when I put it in the same directory as the .pot-file (don’t have the files here, but naming it s2member-nl_NL.po/mo or whatever it should be called, I checked so I would have the name right anyway).
Did a new translation with Poedit for just “remember me” which is in the s2 widget, and nothing.
Codestyling Localization is happily translating all the other (few) plugins I have without problems except for s2member which gives all errors as stated in your post above.
As all other plugins seem to take the Dutch files, I presume the s2member should also take the Dutch files.
The only thing I can think of now is that I use the wrong name for the .mo/.po files but Codestyling Localization generated the file with a name which I then presume is right. After creating it, it refuses to open it because of the errors described above.
So when you say that you could not reproduce the errors, do you mean you have Codestyling Localization installed och checked it there?
I have a Dutch version of WordPress, so no “clean-standard, english” install, but this still doesn’t explain the errors I’m getting from Poedit.
Amen