there, i'm using CodeStyling Localization plugin for

hi there,

i'm using CodeStyling Localization plugin for translating some the plugin into Polish language and i managed to get most of the text translated. however, for some reason there's some text which gives me weird letters once translated (please see image attached).

this is on the confirmation page:

Thank you, your subscription has been confirmed.

Go to site

also, even though i've translated:

<p>Blog Name: %s</p>n<p>Blog URL: %s</p>nConfirm subscription

to:

<p>Nazwa bloga: %s</p>n<p>Adres URL bloga: %s</p>nPotwierd? subskrypcj?

once i get an email, text is still in English. i've eventually change that in the confirmation-mail-template.php file, but it's not ideal as i'll loose that once i update the plugin..

i'd appreciate your help on that!!

thanks,

Adam

[attachments are only viewable by logged-in members]

  • Vinod Dalvi
    • WP Unicorn

    Hi Adam,

    Greetings and thanks for posting on the forums.

    however, for some reason there’s some text which gives me weird letters once translated (please see image attached).

    I don’t know Polish language so could you please tell me what is wrong in the Polish text in the attached screenshot.

    once i get an email, text is still in English. i’ve eventually change that in the confirmation-mail-template.php file, but it’s not ideal as i’ll loose that once i update the plugin..

    Have you translated the text properly as the text have made translation ready using _() function and it should display the content in translated language.

    Please advise.

    Kind Regards,

    Vinod Dalvi

  • adam007
    • The Incredible Code Injector

    hi Vinod,

    thanks for your prompt reply!

    the text in Polish should look like:

    Dzi?kuj? Ci. Twoja subskrypcja zosta?a potwierdzona. (comparing to how it looks like on the image attached earlier.)

    i’ve just tested again, and it’s really weird. for instance,

    i’ve translated this one and it works fine:

    Subscribe to posts on %s

    to that:

    Subskrypcja bloga %s

    (it shows this source code: inc/mail-templates/confirmation-mail-template.php:51)

    but i’ve translated this and it doesn’t work:

    <p>Blog Name: %s</p>n<p>Blog URL: %s</p>nConfirm subscription

    to this:

    <p>Nazwa bloga: %s</p>n<p>Blog URL: %s</p>nPotwierd? subskrypcj?

    (inc/mail-templates/confirmation-mail-template.php:73)

    i’ve been trying many times and it just doesn’t do the translation for it:disappointed:

    any ideas?

    thanks,

    Adam

  • Vinod Dalvi
    • WP Unicorn

    Hi Adam,

    Thank you for your reply.

    Could you please try using subscribe-by-email in place of INCSUB_SBE_LANG_DOMAIN in the plugin file subscribe-by-email/inc/mail-templates/confirmation-mail-template.php: ?

    PS. actually I can see Polish fonts don’t really work on your website either.. it gives ‘?’ instead of some letters..

    Do you mean on our website?

    Could you please share me the link where it is not working?

    Regards,

    Vinod Dalvi