Question:
Denis,
I have used your plugin for a while and I appreciate it a lot. Thank you for making it.
I was trying to add a new language file and had some issues where the whole site stopped responding once I chose that language in the plugin options. When I remove the plugin, the site is fine. I can't figure out how to change the language back or debug the issue. Please advise.
I would also like to see compatibility with i18n plugin - something as simple as loading the corresponding language file in MSC would be enough.
Thanks!
Answer:
Make your translation and upload the "xx.php" (for example) file to the directory - /my-smtp-contact/lang/ - then select your language file in the plugin settings. You can make a translation by analogy (en.php | ru.php)
The translation file is a PHP file. And if you break the language syntax, then the plugin will not work.
To return the default language, open the file - /my-smtp-contact/cfg.php
and change line 37 - $m_smtp_c_language="en";
This plugin does not use i18n plugin for translate. It is not necessary.
Denis,
I have used your plugin for a while and I appreciate it a lot. Thank you for making it.
I was trying to add a new language file and had some issues where the whole site stopped responding once I chose that language in the plugin options. When I remove the plugin, the site is fine. I can't figure out how to change the language back or debug the issue. Please advise.
I would also like to see compatibility with i18n plugin - something as simple as loading the corresponding language file in MSC would be enough.
Thanks!
Answer:
Make your translation and upload the "xx.php" (for example) file to the directory - /my-smtp-contact/lang/ - then select your language file in the plugin settings. You can make a translation by analogy (en.php | ru.php)
The translation file is a PHP file. And if you break the language syntax, then the plugin will not work.
To return the default language, open the file - /my-smtp-contact/cfg.php
and change line 37 - $m_smtp_c_language="en";
This plugin does not use i18n plugin for translate. It is not necessary.