Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Valerio Souza

    (@valeriosza)

    snowbeachking, you can generate a file en_US translation and translating the way they see fit.

    In the new versions will be released this translation file.

    If I have misunderstood, please explain better.

    Thread Starter snowbeachking

    (@snowbeachking)

    Hi Valerio,

    Thank you for your response. I used for translation ‘notify-users-e-mail.pot’, which is included in the plugin language directory.
    When translating it is not possible to translate the word “at”, as it is not included in the .pot file.

    So when an automatic mail is sent and you have included {date}, it will always be date at time in the mail.

    I believe this part of your code would need to be adjusted to be translation ready as well?

    protected function get_formated_date( $date ) {
    		$format = get_option( 'date_format' ) . ' ' . _x( '\a\t', 'date format', 'notify-users-e-mail' ) . ' ' . get_option( 'time_format' );

    It is the . _x( '\a\t', I believe.

    Kind regards.

    Thread Starter snowbeachking

    (@snowbeachking)

    Poedit didn’t show the part for translation properly. My fault. Now translated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘{date} is currently not translatable’ is closed to new replies.