• Resolved morsey

    (@morsey)


    Hi, support )

    I administer a multilingual website that has your plugin installed.

    I created translation files for the Ukrainian language (. po, . mo) using PoEdit, and uploaded them to the plugin’s “languages” folder.
    My language settings for the administrative part are “Ukrainian”. The plugin settings are all displayed in Ukrainian.

    But the names of the buttons on the front part of the site in Ukrainian remained in English. At the same time, the names of the buttons on the Russian part of the site are displayed in Russian, as they should be.

    I did not change the names of the buttons in the settings.

    In order for the translation of the plugin to start working, I had to replace the existing code with this in the file “class-quiz-maker-public. php” wherever the name of the buttons is used

    Example:
    __($settings_buttons_texts[‘seeResultButton’], $this->plugin_name)

    For multilingual functionality, the WPML plugin is used.

    The problem is that these changes will most likely have to be made to the file again after updating the plugin.

    Tell me how to solve the problem with plugin localization in the correct way?

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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support Jasmine

    (@hyenokian)

    Dear @morsey,

    Thank you for your topic.

    My apologies for the late reply – weekends are non-working days for us.

    Please, note that the buttons, should be translated even without your mentioned changes.
    So, for further investigation of your case, we would like to ask you to provide us with the following information:

    1. Please, send us the PO/MO files
    2. Let us know, which version of the Quiz Maker plugin and PHP version you are using․
    3. And also, please let us know whether you have a cache plugin on a page, where the given quiz is located.

    If you don’t want to share the information mentioned publicly, you can contact us via this form.

    Looking forward to you reply.

    Thank you.

    Thread Starter morsey

    (@morsey)

    Hi, @hyenokian Jasmine
    1. This link to Google Disk with PO/MO files
    https://drive.google.com/drive/folders/1_S6PI6Ozj5aMisthgaOLXRQrwBrYx3MM
    2. Plugin: 6.4.6.8; PHP: 7.4
    3. Site do not use any Cache Plugins.
    Before checking is the site has caching plugins, I changed the button design settings, such as text color and background color, and it showed up perfectly on the site.

    • This reply was modified 2 years, 9 months ago by morsey.
    • This reply was modified 2 years, 9 months ago by morsey.
    Plugin Support Jasmine

    (@hyenokian)

    Dear @morsey,

    Thank you for the provided information.

    Ihavepassed your request toour Development Team and they are checking out your case. 

    We will get back to you as soon as we receive an answer from them.

    Thank you.

    Thread Starter morsey

    (@morsey)

    Thank you. I’ll wait for an answer.

    Plugin Support Jasmine

    (@hyenokian)

    Dear @morsey,

    Thanks for your reply and patience.

    Our Dev Team has checked and found the case you are experiencing.
    We will surely fix the problem in the upcoming update of the plugin and will let you know about it.

    Thank you.

    Plugin Support Jasmine

    (@hyenokian)

    Dear @morsey,

    Thank you for your patience.

    I am glad to inform you that we have already fixed the issue in the latest version of the plugin and updated it accordingly.
    So, you can update the plugin to the latest version and check the case again.

    Thank you.

    Thread Starter morsey

    (@morsey)

    Hello.
    The update did not solve the problem.
    After the update, I re-uploaded the translation files, but on the Ukrainian version of the site the buttons are still shown in English (

    Plugin Support Jasmine

    (@hyenokian)

    Dear @morsey,

    Thanks for your reply.

    We have checked the case with the latest 6.4.7.3 version and noticed that once we change the WordPress language, the Ukrainian translation works correctly for us.

    See the screenshot below:

    Please make sure you upload the translation in the correct path.
    Please upload the translation in the following path:

    wp-content\languages\plugins
    quiz-maker-uk.mo
    quiz-maker-uk.po

    Please check this and let us know about the outcome.

    Thank you.

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

The topic ‘Adding new localization files doesn’t work on the front-end’ is closed to new replies.