该用户没有最喜欢的主题。
最喜欢的论坛主题
创建的论坛主题
状态 |
主题
|
支持者 | 声音 | 文章 | 新鲜度 |
---|---|---|---|---|---|
Disambiguating a single string with multiple contexts
发起人: mikeD-5 中: Chat Support |
|
1 | 2 |
7 months, 1 weeks前
|
|
Where are translation hints?
发起人: mikeD-5
中: 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 months, 1 weeks前 | |
Translations are disappearing/getting reset
1
2
发起人: mikeD-5
中: 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 months, 2 weeks前 | |
Scanning for strings in a mu-plugin
1
2
发起人: mikeD-5 中: English Support |
|
8 | 19 | 11 months, 3 weeks前 | |
How do I consolidate textdomains within a theme
发起人: mikeD-5 中: English Support |
|
2 | 6 | 1 years, 9 months前 | |
"Synchronise translations" cannot be disabled
发起人: mikeD-5 中: English Support |
|
2 | 7 | 3 years前 | |
Client disconnected
发起人: mikeD-5 中: Chat Support |
|
1 | 1 |
3 years, 1 months前
|
|
Admin shows posts in all languages
发起人: mikeD-5 中: English Support |
|
2 | 5 | 3 years, 3 months前 | |
Posts are listed in all the languages
发起人: mikeD-5 中: Chat Support |
|
1 | 2 |
3 years, 3 months前
|
|
WPML String Translation + WP 5.7 = Warning in admin and front end with debugging
发起人: mikeD-5 中: English Support |
|
2 | 2 | 3 years, 11 months前 | |
WPML + simple auth = "REST API is disabled, blocking some features of WPML"
发起人: mikeD-5 中: English Support |
|
2 | 2 | 4 years前 | |
Enabling Translation of a Custom Taxonomy
发起人: mikeD-5 中: English Support |
|
2 | 5 |
4 years, 2 months前
mikeD-5 |
|
Finding the original ID for a term
发起人: mikeD-5 中: English Support |
|
2 | 4 | 4 years, 2 months前 | |
Don’t translate links
发起人: mikeD-5
中: 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 years, 3 months前 | |
Gravity Forms v1.5.2 breaks conditional logic
发起人: mikeD-5 中: English Support |
|
2 | 2 | 4 years, 4 months前 |