This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This thread is resolved. Here is a description of the problem and solution.

Problem:
String Translator is not working

Solution:
Please check the maxinputvars setting of your server. Please increase it to 10,000. There is two ways to increase it:

== php.ini file

Open the php.ini file and insert/edit this line:

max_input_vars = 10000

http://php.net/manual/en/info.configuration.php#ini.max-input-vars

== .htaccess file

php_value max_input_vars 10000

This topic contains 3 replies, has 2 voices.

Last updated by manuelf-20 1 year ago.

Assigned support staff: Diego Pereira.

Author Posts
October 7, 2018 at 6:53 pm #2794178

manuelf-20

String Tranlation not working, i been in contact with diego he told me to do some performence changes, and i done it:
This was diegos message:

I notice that if you go to Theme options > Cookie Notice and modify the text, It will be not saved. If you refresh the page you will see the old content.

I think this is related to the MaxInputVars of your PHP. I checked your server settings and there is some configs that need to be improved:

Increase WP memory
Please increase the PHP memory limit to 256mb. Currently this memory is set to 40mb only.
https://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

MaxInputVars
Currently it is set to 1000, which is a very low value. You have two ways to increase it:

== php.ini file
Open the php.ini file and insert/edit this line:
max_input_vars = 10000
hidden link

== .htaccess file
php_value max_input_vars 10000

Please also provide your debug information so that I can get a look at some of your configurations. We have an excellent article on how to located here: https://wpml.org/faq/provide-debug-information-faster-support/.
NOTE: Please be sure to check the box to indicate you can provide debug info and paste your debug info in the debug field provided, and NOT in the general response field.

Regards,
Diego

October 8, 2018 at 5:17 pm #2797008

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello @manuelf-20, welcome back 🙂

Please send us access to your WordPress dashboard (website URL, login and password) I'll check and do some tests. - Please use the private field to send the sensitive data - do not post if you do not see it.

It would be better if you give me a test site rather than the live site.

IMPORTANT Please backup a working copy of site files and database before.

I'll need to replicate your site temporarily to run some tests on a different server. For this please install a plugin called “Duplicator” or "Cloudways WordPress Migration" (https://wordpress.org/plugins/bv-cloudways-automated-migration/) on your website. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the copy site. Please let me know if this is ok for you.

Please let me know if it worked for you.

All the best,
Diego

October 10, 2018 at 1:20 pm #2804388

Diego Pereira
Supporter

Languages: English (English ) Spanish (Español ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hi there,

Thanks. I checked the PHPinfo and the max_input_vars value is still registered as 1000 (see screenshot).

Did you apply the modifications described in the previous post? If yes and it did not work, I recommend contacting the support of your hosting server and asking them to increase the value of max_input_vars on your server.

Regards,
Diego

October 12, 2018 at 5:01 pm #2812734

manuelf-20

My issue is resolved now. Thank you!