jQuery Mobile widgets are auto-initialized (Markup enhancement) on two events, pagebeforecreate
and pagecreate
. The majority of widgets are initialized once pagecreate
occurs.
All you need is to wrap i18n code in pagebeforecreate
.
$(document).on("pagebeforecreate", function () {
// code
});