If you’re translating your website into another language (or languages) using WPML and have lots of of pages, posts, products, etc., then you will likely use WPML Translation management to bulk translate multiple items at once. The current version of WPML (3.1.9.6. as of this article) provides two options – show all documents or 20 documents only. In order to change this value to something your server can handle (without getting timeouts or encountering other server issues), all you have to do is:
- navigate to plugins/sitepress-multilingual-cms/inc/translation-management
- open translation-management.class.php file
- in row 17, you will find the following code:
1 |
define('ICL_TM_DOCS_PER_PAGE', 20); |
Needless to say, all you have to do is change 20 to any desired value.