This is breaking things like webkitContextMenuActionGetForContextMenuItem() for non English locales in the cases where we use the action title to guess the action, because the action title we get from the web process is translated while the one in the UI process is in English. We should initialize gettext also in the Ui process.
Created attachment 237146 [details] Patch
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment on attachment 237146 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=237146&action=review > Source/WebKit2/UIProcess/API/gtk/WebKitWebContext.cpp:254 > + // Initialize gettext here, right before creating the default web context. Not sure this comment has any relevant info. The explanation in the Changelog would be enough for me :)
Committed r172957: <http://trac.webkit.org/changeset/172957>