Cet utilisateur n'a aucun sujet favori.
Sujets de forum favoris
Sujets de forum créés
| Statut |
Sujet
|
Support | Voix | Messages | Fraîcheur |
|---|---|---|---|---|---|
|
php error
Commencé par : tarasL
dans : English Support
Problem: wp-config.php file and ensuring it contains the following line: define('WP_DEBUG_DISPLAY', false);For more information on compatibility and this issue, please visit the official WordPress site: WordPress 5.9 and PHP 8.0-8.1. If this solution does not apply to your case, or if the problem persists, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If needed, please open a new support ticket at WPML support forum for further assistance. |
|
0 | 2 | Il y a 1 année et 4 mois | |
|
aREST API returns null in the title field
Commencé par : tarasL dans : English Support |
1 | 5 | Il y a 1 année et 5 mois | ||
|
variation doesn’t disappear
Commencé par : tarasL dans : English Support |
|
2 | 2 | Il y a 1 année et 5 mois | |
|
Problem with attribute translation
1
2
3
Commencé par : tarasL
dans : English Support
Problem: Solution: Please note that this isn't an officially supported workaround, but is a temporary fix and should be used with great care!! - Take full backup of site and database beforehand.
public function get_source_lang( $name, $domain ) {
$domain_lang = $this->lang_of_domain->get_language( $domain );
if ( ! $domain_lang ) {
$flag = 0 === strpos( $domain, 'admin_texts_' )
|| WPML_ST_Blog_Name_And_Description_Hooks::is_string( $name );
$domain_lang = $flag ? $this->sitepress->get_user_admin_language( get_current_user_id() ) : 'en';
}
return $domain_lang;
}
- With:
public function get_source_lang( $name, $domain ) {
$domain_lang = $this->lang_of_domain->get_language( $domain );
if ( ! $domain_lang ) {
$flag = 0 === strpos( $domain, 'admin_texts_' )
|| WPML_ST_Blog_Name_And_Description_Hooks::is_string( $name );
$domain_lang = $flag ? $this->sitepress->get_user_admin_language( get_current_user_id() ) : apply_filters('wpml_default_language', NULL );
}
return $domain_lang;
}
- Save the file. - Open wp-content/plugins/woocommerce-multilingual/inc/class-wcml-wc-strings.php for editing.
public function add_hooks() {
add_action( 'init', [ $this, 'add_on_init_hooks' ] );
// Needs to run before WC registers taxonomies on init priority 5.
foreach ( wc_get_attribute_taxonomies() as $tax ) {
add_filter(
'woocommerce_taxonomy_args_' . wc_attribute_taxonomy_name( $tax->attribute_name ),
function ( $args ) use ( $tax ) {
return $this->translate_attribute_labels( $args, $tax->attribute_label );
}
);
}
}
- With the following code:
public function add_hooks() {
add_action( 'init', [ $this, 'add_on_init_hooks' ] );
// Needs to run before WC registers taxonomies on init priority 5.
foreach ( wc_get_attribute_taxonomies() as $tax ) {
add_filter(
'woocommerce_taxonomy_args_' . wc_attribute_taxonomy_name( $tax->attribute_name ),
function ( $args ) use ( $tax ) {
if ( !isset( $_POST["action"] ) || ( $_POST["action"] != "wpml_get_terms_and_labels_for_taxonomy_table" && $_POST["action"] != "wpml_tt_save_labels_translation" ) ) {
return $this->translate_attribute_labels( $args, $tax->attribute_label );
} else {
return $args;
}
}
);
}
}
- Save the file. After that: Please note that the issues have been escalated to our dev team for a proper fix in a future release. If this solution does not resolve your issue or seems outdated, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket at WPML support forum for further assistance. |
|
2 | 45 | Il y a 1 année et 5 mois | |
|
Yoast's seo titles and meta description do not translate
Commencé par : tarasL dans : Chat Support |
|
1 | 2 |
Il y a 1 année et 5 mois
|
|
|
Mailpoet x WPML
Commencé par : tarasL dans : Chat Support |
|
1 | 2 |
Il y a 1 année et 6 mois
|
|
|
Different orders are translated differently in the section under “Orders” in Woocommerce.
Commencé par : tarasL dans : English Support |
|
2 | 4 | Il y a 1 année et 7 mois | |
|
Issue with plugin translation
1
2
…
4
5
Commencé par : tarasL dans : English Support |
|
3 | 66 | Il y a 1 année et 7 mois | |
|
When using your plugin there is a high load on the server.
1
2
Commencé par : tarasL dans : English Support |
|
2 | 21 | Il y a 1 année et 9 mois | |
|
new language problem
Commencé par : tarasL dans : English Support |
|
1 | 2 | Il y a 1 année et 11 mois | |
|
There is a huge load on the server
Commencé par : tarasL dans : Chat Support |
|
1 | 2 |
Il y a 2 années
|
|
|
E_ERROR
Commencé par : tarasL dans : English Support |
|
2 | 9 | Il y a 2 années | |
|
The pattern doesn't translate
1
2
Commencé par : tarasL dans : English Support |
|
2 | 17 | Il y a 2 années et 1 mois | |
|
not getting the navigation translated from the block
Commencé par : tarasL dans : Chat Support |
|
1 | 2 |
Il y a 2 années et 1 mois
|
|
|
WPML chat support ticket by tarasL – 1710169257
Commencé par : tarasL dans : English Support |
1 | 1 |
Il y a 2 années et 1 mois
|