On 26 Sep 2017, at 9:57pm, Guy Harris <g...@alum.mit.edu> wrote:
> On Sep 26, 2017, at 1:37 PM, Jens Alfke <j...@mooseyard.com> wrote: > >>> On Sep 26, 2017, at 1:17 PM, Guy Harris <g...@alum.mit.edu> wrote: >>> >>> A user wouldn't know what to do with "you've exceeded your stored data >>> quota”? >> >> A Turkish or Chinese user likely wouldn’t. (SQLite’s error messages are not >> localized.) > > Which means "for stuff that would be shown to the user, for the user to read, > either localize your error messages, or make sure your API returns error > codes that the application can turn into localized error messages". No. It means that you should present /your/ error messages to your users, not error messages generated by SQLite. SQLite is a programmer’s tool. Its users are programmers, and that’s who its error messages are addressed to. You should not be letting your users see error message intended for you, and you should not be making your users worry about what to do about them. If your software wants to react to a SQLite result code by presenting one of its own error messages to its users, that’s fine. Simon. _______________________________________________ sqlite-users mailing list sqlite-users@mailinglists.sqlite.org http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users