Issue with Translated versions of WordPress
-
Hi,
I tried to install the plugin to use with a PT_BR version of WordPress.
The plugin is installed but we cannot access the Settings page.
After trying to find the error and doing some debugging we found that commenting the following lines prevented the error.
$dts_cookie_lifespans = array(
array(‘value’ => 0, ‘text’ => _(“When the browser is closed (Default)”)),
array(‘value’ => 900, ‘text’ => _(“15 Minutes”)),
array(‘value’ => 1800, ‘text’ => _(“30 Minutes”)),
array(‘value’ => 2700, ‘text’ => _(“45 Minutes”)),
array(‘value’ => 3600, ‘text’ => _(“60 Minutes”)),
array(‘value’ => 4500, ‘text’ => _(“75 Minutes”)),
array(‘value’ => 5400, ‘text’ => _(“90 Minutes”))); ?>
file: calss.wp-admin.php //line 155We believe that since these are not found in the language files the error is ocurring.
- The topic ‘Issue with Translated versions of WordPress’ is closed to new replies.