Forum Replies Created

Viewing 1 replies (of 1 total)
  • jhvass

    (@jhvass)

    I have made a Swedish translation. However, I think there is a small bug in the wp-members.php file when loading the translations.

    The textdomain should just be the plugin-name and the relative path need to be passed in the third argument.

    I changed this:
    $wpmem_textdomain = ‘wp-members/lang’;
    load_plugin_textdomain($wpmem_textdomain);

    into this (according to the documentation)
    $wpmem_textdomain = ‘wp-members’;
    load_plugin_textdomain($wpmem_textdomain, false, dirname( plugin_basename( __FILE__ ) ) . ‘/lang/’);

    now everything including the field names got translated properly into Swedish ??

    / Jan

Viewing 1 replies (of 1 total)