This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
Strings only work with 'Look for strings while pages are rendered' enabled
Started by: adamM-10 in: English Support |
|
2 | 7 | 1 year, 3 months ago | |
String translate not displaying imported strings
1
2
Started by: adamM-10
in: English Support
Problem: Solution: stripcslashes() PHP function, which removes slashes that are not needed, causing a mismatch in JSON. We have escalated this to our developers. Meanwhile, we suggest two workarounds: 1. Do not scan strings with quotes and delete all previously scanned strings. Then, navigate to WPML > String Translation and enable "Look for strings while pages are rendered". Visit the page where the strings are displayed, and once the page is loaded, disable this option. This will add all strings with slashes to the String Translation, allowing for smooth import/export of the PO file. 2. Alternatively, you can comment out the line $string = stripcslashes( $string ); in the file wp-content\plugins\wpml-string-translation\inc\gettext\wpml-string-scanner.class.php on line 278. Then, rescan the theme files, and the strings with slashes will be preserved, allowing for correct export/import of the PO file. Please try these solutions and let us know if they work for you. If this solution doesn't look relevant, please open a new support ticket. |
|
3 | 30 | 1 year, 4 months ago | |
Imported strings that contain links are not being displayed translated
Started by: adamM-10 in: English Support |
|
2 | 12 | 1 year, 4 months ago | |
After deleting strings and rescanning plugin, the deleted strings do not show
Started by: adamM-10 in: English Support |
|
2 | 7 | 1 year, 4 months ago | |
When importing strings with escaped characters, WPML does not detect a match
Started by: adamM-10 in: English Support |
|
2 | 4 | 1 year, 5 months ago | |
jQuery Dependency for language-cookie JS file
Started by: adamM-10 in: English Support |
|
2 | 3 | 1 year, 11 months ago |