Questo utente non ha argomenti preferiti.
Argomenti preferiti del forum
Argomenti del forum creati
Stato |
Argomento
|
Sostenitore | Voci | Messaggi | Freschezza |
---|---|---|---|---|---|
Disambiguating a single string with multiple contexts
Iniziato da: mikeD-5 in: Chat Support |
|
1 | 2 |
7 mese, 1 settimana fa
|
|
Where are translation hints?
Iniziato da: mikeD-5
in: English Support
Problem: printf(esc_html(// translators: %s is a year __( 'Active since %s', 'cnmd' ),), esc_html( $year )); Solution: We further explained that the comment /* translators: %s: %s is a year */ is intended to provide context to translators who are translating the theme or plugin into different languages. It helps in understanding what the string represents, especially when creating .po language files that accompany the theme or plugin. However, PHP comments, whether single-line (//) or multi-line (/* */), are ignored by the PHP interpreter during script execution. They are meant only for documentation and do not appear on the website or affect the program's execution. For more details on PHP comments, you can visit https://www.w3schools.com/php/php_comments.asp. If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, 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. Should you need further assistance, please open a new support ticket with us. |
|
2 | 4 | 7 mese, 1 settimana fa | |
Translations are disappearing/getting reset
1
2
Iniziato da: mikeD-5
in: English Support
Problem: If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, 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 further assistance is needed, please open a new support ticket at WPML support forum. |
|
3 | 32 | 7 mese, 2 settimana fa | |
Scanning for strings in a mu-plugin
1
2
Iniziato da: mikeD-5 in: English Support |
|
8 | 19 | 11 mese, 3 settimana fa | |
How do I consolidate textdomains within a theme
Iniziato da: mikeD-5 in: English Support |
|
2 | 6 | 1 anno, 9 mese fa | |
"Synchronise translations" cannot be disabled
Iniziato da: mikeD-5 in: English Support |
|
2 | 7 | 3 anno fa | |
Client disconnected
Iniziato da: mikeD-5 in: Chat Support |
|
1 | 1 |
3 anno, 1 mese fa
|
|
Admin shows posts in all languages
Iniziato da: mikeD-5 in: English Support |
|
2 | 5 | 3 anno, 3 mese fa | |
Posts are listed in all the languages
Iniziato da: mikeD-5 in: Chat Support |
|
1 | 2 |
3 anno, 3 mese fa
|
|
WPML String Translation + WP 5.7 = Warning in admin and front end with debugging
Iniziato da: mikeD-5 in: English Support |
|
2 | 2 | 3 anno, 11 mese fa | |
WPML + simple auth = "REST API is disabled, blocking some features of WPML"
Iniziato da: mikeD-5 in: English Support |
|
2 | 2 | 4 anno fa | |
Enabling Translation of a Custom Taxonomy
Iniziato da: mikeD-5 in: English Support |
|
2 | 5 |
4 anno, 2 mese fa
mikeD-5 |
|
Finding the original ID for a term
Iniziato da: mikeD-5 in: English Support |
|
2 | 4 | 4 anno, 2 mese fa | |
Don’t translate links
Iniziato da: mikeD-5
in: English Support
Problem: How to add a link to pages in a different language. Solution: You need to add the following example code in the functions.php file of your site's theme. add_filter( 'wpml_sl_blacklist_requests', 'wpml_sl_blacklist_requests', 10, 2 ); function wpml_sl_blacklist_requests( $blacklist, $sitepress ) { $blacklist[] = 'documentation'; return $blacklist; } In this example, 'documentation' represents the slug of the page you link to and don't want to take the user to the translation of this page. Please read more about this function in our documentation here. Note: 1. You do not need to activate the Sticky Links add-on. 2. For existing pages and posts with links in their content, you might need to make a small change on the page and press the Update button. And then also update the translation. |
|
2 | 10 | 4 anno, 3 mese fa | |
Gravity Forms v1.5.2 breaks conditional logic
Iniziato da: mikeD-5 in: English Support |
|
2 | 2 | 4 anno, 4 mese fa |