Adding new localization files doesn’t work on the front-end
-
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]
The topic ‘Adding new localization files doesn’t work on the front-end’ is closed to new replies.