Cet utilisateur n'a aucun sujet favori.
Sujets favoris des forums
Sujets de forum créés
Statut |
Sujet
|
Supporter | Participants | Messages | Nouveauté |
---|---|---|---|---|---|
Complianz Plugin – mixed language content in generated documents
Démarré par: kellyL-9
dans : English Support
Problem: Complianz Plugin - mixed language content in generated documents Solution: The dates are not showing translation because of a conflict in the Complianz plugin code. They have a function to localize the date(in plugins/complianz-gdpr-premium/functions.php @ line 1063). But it is not localizing the Month. It works as expected after the following steps. 1) Go to *wp-content/plugins/complianz-gdpr-premium/* folder From $date = $post_id ? get_the_date( '', $post_id ) : date( get_option( 'date_format' ), get_option( 'cmplz_publish_date' ) ); $date = cmplz_localize_date( $date ); To /* $date = $post_id ? get_the_date( '', $post_id ) : date( get_option( 'date_format' ), get_option( 'cmplz_publish_date' ) ); $date = cmplz_localize_date( $date ); */ $date = get_the_date( '', $post_id ); Relevant Documentation: https://wpml.org/forums/topic/complianz-plugin-mixed-language-content-in-generated-documents/#post-11373039 |
2 | 15 | il y a 1 an et 9 mois | ||
Translate Custom strings
Démarré par: kellyL-9
dans : English Support
Problem: Translate Custom theme strings Solution: If you are following WordPress localization standards, then you can scan for the plugins/theme strings from WPML>>Themes & localization and translate them from WPML>>String Translation. Please refer to the following documentation for more details. In case of trying to translate dynamic custom strings, you can use *wpml_register_single_string* and wpml_translate_single_string for registering and retrieving the translation. Please refer to the following documentation for more details. Relevant Documentation: https://clivern.com/how-to-internationalize-your-wordpress-plugin/ |
2 | 3 | il y a 1 an et 9 mois | ||
ICL_LANGUAGE_CODE and the Complianz add_filter
Démarré par: kellyL-9
dans : English Support
Problem: ICL_LANGUAGE_CODE is not working with Complianz plugin Solution: It works after using *wpml_current_language* hook instead of ICL_LANGUAGE_CODE. Please check the sample. $my_current_lang = apply_filters( 'wpml_current_language', NULL ); if($my_current_lang=='pt-br'){ //Custom code } Relevant Documentation: https://wpml.org/wpml-hook/wpml_current_language/ |
2 | 2 |
il y a 1 an et 9 mois
kellyL-9 |
||
WPML chat support ticket by kellyL-9 – 1653576239
Démarré par: kellyL-9 dans : Chat Support |
1 | 1 |
il y a 1 an et 10 mois
|
||
Toolset plugin cannot connect to toolset\.com
Démarré par: kellyL-9 dans : English Support |
2 | 2 | il y a 2 ans et 5 mois | ||
JetEngine Plugin: Glossary feature Translation
Démarré par: kellyL-9 dans : English Support |
2 | 3 | il y a 2 ans et 6 mois |