Cet utilisateur n'a pas de sujets favoris.
Sujets préférés du forum
Sujets de forum créés
Statut |
Sujet
|
Supporter | Les voix | Articles | Fraîcheur |
---|---|---|---|---|---|
Strings only work with 'Look for strings while pages are rendered' enabled
Démarré par: adamM-10 en: English Support |
|
2 | 7 | Il y a 1 année et 3 mois | |
String translate not displaying imported strings
1
2
Démarré par: adamM-10
en: 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 | Il y a 1 année et 4 mois | |
Imported strings that contain links are not being displayed translated
Démarré par: adamM-10 en: English Support |
|
2 | 12 | Il y a 1 année et 4 mois | |
After deleting strings and rescanning plugin, the deleted strings do not show
Démarré par: adamM-10 en: English Support |
|
2 | 7 | Il y a 1 année et 4 mois | |
When importing strings with escaped characters, WPML does not detect a match
Démarré par: adamM-10 en: English Support |
|
2 | 4 | Il y a 1 année et 5 mois | |
jQuery Dependency for language-cookie JS file
Démarré par: adamM-10 en: English Support |
|
2 | 3 | Il y a 1 année et 11 mois |