• Resolved briefdev

    (@briefdev)


    Hi,
    I would like to leave the message fields blank to be able to use WPML translations, but the registration is not taken into account.
    What could be the issue?
    Thank you very much.

    The page I need help with: [log in to see the link]

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

    (@mkscripts)

    Hi,

    After saving the empty fields, these messages (options) are empty in the database. After saving or when you reload the messages settings page, default values ??are displayed, but these default values ??have no effect on the database until you save them. After saving the empty fields, the translatable strings become active. So it may seem like it is not registering, but it actually works correctly ??

    If you have any more questions, feel free to ask.

    Kind regards,
    Team Download After Email

    Thread Starter briefdev

    (@briefdev)

    Hello,

    yes I understand, my forms and databases are empty, but what I don’t understand is why my WPML translation strings are not taken into account?
    What is the solution to make them work?
    Thank you very much.

    Kind regards.

    Plugin Author mkscripts

    (@mkscripts)

    Hi,

    You can create .po files from the file: /wp-content/plugins/download-after-email/languages/download-after-email.pot. One for each language. You could use Poedit for this. In the start screen you can select “Create new translation (from .pot)”. You will be asked to fill in the language code, for example en_EN. From the created .po file you need to create the compiled .mo file. Make sure the name is given like download-after-email-en_EN.mo. Place the .mo files in the folder /wp-content/languages/plugins. If this folder does not exist, you can create it manually. So the full path of the .mo file would be /wp-content/languages/plugins/download-after-email-en_EN.mo. Now the translated strings, available in this .mo file, will be used (unless fields were not left blank when saving the message settings page).

    Kind regards,
    Team Download After Email

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘the message fields not blank’ is closed to new replies.