Dieser Benutzer hat keine Lieblingsthemen.
Foren-Themen-Favoriten
Erstellte Forenthemen
Status | Thema | Supporter | Teilnehmer | Beiträge | Letzte Aktualisierung |
---|---|---|---|---|---|
Can't find certain strings for translation Gestartet von: noamK-2 in: English Support | 1 | 1 | vor 13 Stunden, 59 Minuten | ||
String translation failure 1 2 3 Gestartet von: noamK-2 in: English Support | | 3 | 35 | vor 1 Tag, 11 Stunden | |
Sentence added in child theme's functions. php, not found on String Translation Gestartet von: noamK-2 in: English Support | | 2 | 6 | vor 1 Woche, 4 Tagen | |
After recent WPML update, all Page Builder strings are missing from String trans 1 2 Gestartet von: noamK-2 in: English Support Problem: After WPML update, the page builder strings are all missing from WPML > String Translation and can't be translated. Solution: You can add this snippet directly in the functions.php file of your theme. /** * Fix corrupted page builder package strings (wrong name and/or duplicates). * * @see https://onthegosystems.myjetbrains.com/youtrack/issue/wpmlcore-6913 */ function wpmlcore_6913_fix_corrupted_package_strings() { global $wpdb; // Will collect all package string with a wrong name. $allCorrupted = wpml_collect( $wpdb->get_results( "SELECT s1.id, s1.string_package_id, s1.value, s1.name, s2.id AS duplicate_of_valid_id FROM {$wpdb->prefix}icl_strings AS s1 LEFT JOIN {$wpdb->prefix}icl_strings AS s2 ON s2.name = MD5(s1.value) WHERE s1.string_package_id IS NOT NULL AND s1.name <> MD5(s1.value) ORDER BY s1.id" ) )->keyBy( 'id' ); if ( ! $allCorrupted->count() ) { return; } // duplicated string of a valid one => to delete $duplicatesOfNonCorrupted = $allCorrupted->filter( function( $string ) { return (bool) $string->duplicate_of_valid_id; } ); // duplicated string with no valid one => keep the latest version and remove the other duplicates $corruptedDuplicates = $allCorrupted->diffKeys( $duplicatesOfNonCorrupted ); // We'll keep the highest string id only $duplicatesToKeepAsUnique = $corruptedDuplicates ->reduce( function( \WPML\Collect\Support\Collection $carry, $string ) { // Duplicated value/package_id will be overwritten. $key = md5( $string->string_package_id . $string->value ); $carry->put( $key, $string ); return $carry; }, wpml_collect() ) ->keyBy( 'id' ); $duplicatesToDelete = $corruptedDuplicates->diffKeys( $duplicatesToKeepAsUnique ); $stringIdsToDelete = $duplicatesOfNonCorrupted->merge( $duplicatesToDelete )->pluck( 'id' )->toArray(); if ( $stringIdsToDelete ) { wpml_unregister_string_multi( $stringIdsToDelete ); } if ( $duplicatesToKeepAsUnique->count() ) { $wpdb->query( "UPDATE {$wpdb->prefix}icl_strings SET name = MD5(value), domain_name_context_md5 = MD5(CONCAT(context,MD5(value),gettext_context)) WHERE id IN(" . $duplicatesToKeepAsUnique->implode( 'id', ',' ) . ")" ); } } add_action( 'admin_footer', 'wpmlcore_6913_fix_corrupted_package_strings' ); | | 5 | 20 | vor 2 Wochen, 4 Tagen | |
CSS in visual composer text block element not translated to Hebrew (RTL) Gestartet von: noamK-2 in: English Support | | 2 | 2 | vor 2 Monate, 1 Woche | |
Contact Form 7 issues 1 2 Gestartet von: noamK-2 in: English Support | | 3 | 20 | vor 4 Monate, 3 Wochen | |
All translations missing in all post types cloned with Duplicate Post plugin 1 2 3 Gestartet von: noamK-2 in: English Support | | 2 | 31 | vor 4 Monate, 3 Wochen | |
Image Title Attribute field not in translation editor Gestartet von: noamK-2 in: English Support | | 2 | 9 | vor 5 Monate, 3 Wochen | |
WPML Multilingual CMS version update 4.2.7 crashes our website Gestartet von: noamK-2 in: English Support | | 3 | 7 | vor 5 Monate, 3 Wochen | |
When running the WPML Multilingual CMS version 4.2.7 update, it crashed our webs Gestartet von: noamK-2 in: English Support | | 2 | 2 | vor 5 Monate, 4 Wochen | |
Language switcher issue Gestartet von: noamK-2 in: English Support | | 2 | 2 | vor 7 Monate, 2 Wochen | |
Visual Composer Video Element-video link not translatable on translation editor Gestartet von: noamK-2 in: English Support | | 2 | 5 | vor 8 Monate, 4 Wochen | |
Duplicate footer Copyrights row strings Gestartet von: noamK-2 in: English Support | | 2 | 5 | vor 10 Monate, 3 Wochen | |
Custom CSS in VC Icon Box element not copied to translated Hebrew page Gestartet von: noamK-2 in: English Support | | 2 | 11 | vor 1 Jahr, 1 Monat | |
String Translation plugin in conflict with a WPML approved plugin Gestartet von: noamK-2 in: English Support | | 2 | 6 | vor 1 Jahr, 2 Monate |