• 1. Dates and times are hard coded to a specific format. Please change all occurrences of date('Y-m-d g:i A', ...)
    and such with
    date_i18n( get_option( 'date_format' ) . ' ' . get_option( 'time_format' ), ... )

    2. There is a misspelled textdomain in php/submit_ticket.php:83. Please change wpsc-support-ticket to wpsc-support-tickets.

    3. There is an extra second parameter to the __() function in wpsc-support-tickets.php:131 becoming the textdomain parameter. Please removed “Cook Island” and add a new translation for this string.

    https://ww.wp.xz.cn/plugins/wpsc-support-tickets/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Knut Sparhell

    (@knutsp)

    2 and 3 (both just typos) are fixed. Thank you. 1 remains.

    date_i18n( __( 'Y-m-d g:i A', 'wpsc-support-tickets' ), ... ) will also do, and may give the plugin authors more control over the display when there is no translation available.

    Plugin Author jquindlen

    (@jquindlen)

    Thanks. Fixed in 4.7.22, coming out in the next day or so.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Localization problems’ is closed to new replies.